Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to cross-compilation for linux_aarch64 and linux_ppc64le #8

Merged
merged 4 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
- linux-aarch64
zip_keys:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-ppc64le
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_platform:
- linux-ppc64le
zip_keys:
Expand Down
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

9 changes: 1 addition & 8 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
conda_build:
error_overlinking: false
conda_forge_output_validation: true
Expand Down
7 changes: 5 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
{% set platform = "windows-x86_64" %} # [win]
{% set extension = "tar.xz" %} # [not win]
{% set extension = "zip" %} # [win]
{% set exists = "which" %} # [not win]
{% set exists = "where" %} # [win]

package:
name: {{ name|lower }}
Expand All @@ -20,7 +22,7 @@ source:
sha256: f15613b7c3088299659356456abfe2c3a98eed7eea9d8292fe0ec46726f5ec73 # [win]

build:
number: 0
number: 1
binary_relocation: false
skip: true # [osx]
missing_dso_whitelist:
Expand All @@ -47,7 +49,8 @@ test:
- test -f $PREFIX/compute-sanitizer/compute-sanitizer # [linux]
- if not exist %LIBRARY_PREFIX%\compute-sanitizer\compute-sanitizer.exe exit 1 # [win]
- if not exist %PREFIX%\Scripts\compute-sanitizer.bat exit 1 # [win]
- compute-sanitizer --version
- {{ exists }} compute-sanitizer
- compute-sanitizer --version # [build_platform == target_platform]
Comment on lines +52 to +53
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we cannot run compute-sanitizer when cross-compiling, have modified the test above to simply check the existence of the command on all platforms. So there is some test that the executable exists even when cross-compiling

Then limited running compute-sanitizer to native builds


about:
home: https://docs.nvidia.com/compute-sanitizer/SanitizerApiGuide/index.html
Expand Down