Skip to content

Commit

Permalink
Merge pull request #1 from lab-cosmo/other-archs
Browse files Browse the repository at this point in the history
Enable building for other archs (osx-amr64, linux-aarch64, linux-ppc64le)
  • Loading branch information
Luthaf authored May 1, 2024
2 parents 9bd5b89 + 1923c91 commit a9c2816
Show file tree
Hide file tree
Showing 11 changed files with 121 additions and 1 deletion.
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.

3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

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

27 changes: 27 additions & 0 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
rust_compiler:
- rust
target_platform:
- linux-aarch64
zip_keys:
- - c_stdlib_version
- cdt_name
23 changes: 23 additions & 0 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-ppc64le
rust_compiler:
- rust
target_platform:
- linux-ppc64le
zip_keys:
- - c_stdlib_version
- cdt_name
20 changes: 20 additions & 0 deletions .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
MACOSX_DEPLOYMENT_TARGET:
- '11.0'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
- '11.0'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '16'
macos_machine:
- arm64-apple-darwin20.0.0
rust_compiler:
- rust
target_platform:
- osx-arm64
3 changes: 3 additions & 0 deletions .scripts/build_steps.sh

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

4 changes: 4 additions & 0 deletions .scripts/run_osx_build.sh

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

5 changes: 5 additions & 0 deletions .scripts/run_win_build.bat

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

21 changes: 21 additions & 0 deletions README.md

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

6 changes: 6 additions & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ github:
conda_build:
error_overlinking: true
conda_forge_output_validation: true
build_platform:
osx_arm64: osx_64
test: native_and_emulated
provider:
linux_ppc64le: azure
linux_aarch64: azure
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source:
- mktemp-mkdir.patch

build:
number: 0
number: 1


requirements:
Expand Down

0 comments on commit a9c2816

Please sign in to comment.