Skip to content

Commit

Permalink
Support installing packages dependent on LabVIEW 2021 (#141)
Browse files Browse the repository at this point in the history
* Fix LabVIEW package dependencies in control files for scripting
* Fix LabVIEW bitness install paths for 64-bit
* Update Jenkinsfile to prevent build failures due to diff call
  • Loading branch information
Karl-G1 authored Nov 30, 2021
1 parent eae3b9a commit 3d25f1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ def lvVersions = [
64 : ['2021']
]

diffPipeline(lvVersions[0])
diffPipeline(lvVersions)
ni.vsbuild.PipelineExecutor.execute(this, 'vs_cd_build', lvVersions)
4 changes: 2 additions & 2 deletions build.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ package_output_dir = 'Built'
[[package]]
type = 'nipkg'
payload_dir = 'Built\Packed Scripting API'
install_destination = 'ni-paths-LV{veristand_version}DIR\vi.lib\addons\VeriStand Custom Device Scripting APIs\FPGA Addon'
install_destination = 'ni-paths-LV{veristand_version}DIR{nipaths_64_bitness_suffix}\vi.lib\addons\VeriStand Custom Device Scripting APIs\FPGA Addon'
control_file = 'control_scripting_api'
package_output_dir = 'Built'

[[package]]
type = 'nipkg'
payload_dir = 'Built\Scripting Examples'
install_destination = 'ni-paths-LV{veristand_version}DIR\examples\NI VeriStand Custom Devices\FPGA Addon'
install_destination = 'ni-paths-LV{veristand_version}DIR{nipaths_64_bitness_suffix}\examples\NI VeriStand Custom Devices\FPGA Addon'
control_file = 'control_scripting_examples'
package_output_dir = 'Built'
2 changes: 1 addition & 1 deletion control_scripting_api
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ XB-UserVisible: yes
Section: Add-Ons
XB-DisplayVersion: {display_version}
XB-DisplayName: NI FPGA Addon LabVIEW Support for NI VeriStand {veristand_version}
Depends: {AUTOVERSION_ni-labview-{labview_version}-x86}, {ni-veristand-{labview_version}} (>= {labview_short_version}.0.0), ni-fpga-addon-veristand-{veristand_version}-support (>= {display_version})
Depends: ni-labview-{labview_version}{pkg_x86_bitness_suffix}, ni-veristand-{labview_version} (>= {labview_short_version}.0.0), ni-fpga-addon-veristand-{veristand_version}-support (>= {display_version})
2 changes: 1 addition & 1 deletion control_scripting_examples
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ XB-UserVisible: yes
Section: Add-Ons
XB-DisplayVersion: {display_version}
XB-DisplayName: NI FPGA Addon LabVIEW Support Examples for NI VeriStand {veristand_version}
Depends: {AUTOVERSION_ni-labview-{labview_version}-x86}, {ni-veristand-{labview_version}} (>= {labview_short_version}.0.0), ni-fpga-addon-veristand-{veristand_version}-labview-support (>= {display_version})
Depends: ni-labview-{labview_version}{pkg_x86_bitness_suffix}, ni-veristand-{labview_version} (>= {labview_short_version}.0.0), ni-fpga-addon-veristand-{veristand_version}-labview-support (>= {display_version})

0 comments on commit 3d25f1f

Please sign in to comment.