Skip to content

Commit 0aecd35

Browse files
authored
Merge pull request conda-forge#45 from traversaro/addaarch64
Add Linux builds for aarch64 (i.e. arm 64)
2 parents 9e0e1ea + 1c42822 commit 0aecd35

File tree

6 files changed

+64
-3
lines changed

6 files changed

+64
-3
lines changed

.azure-pipelines/azure-pipelines-linux.yml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ci_support/linux_aarch64_.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
BUILD:
2+
- aarch64-conda_cos7-linux-gnu
3+
c_compiler:
4+
- gcc
5+
c_compiler_version:
6+
- '12'
7+
cdt_arch:
8+
- aarch64
9+
cdt_name:
10+
- cos7
11+
channel_sources:
12+
- conda-forge
13+
channel_targets:
14+
- conda-forge main
15+
cxx_compiler:
16+
- gxx
17+
cxx_compiler_version:
18+
- '12'
19+
docker_image:
20+
- quay.io/condaforge/linux-anvil-cos7-x86_64
21+
fmt:
22+
- '10'
23+
libopencv:
24+
- 4.8.1
25+
libosqp:
26+
- 0.6.3
27+
pin_run_as_build:
28+
python:
29+
min_pin: x.x
30+
max_pin: x.x
31+
pugixml:
32+
- '1.14'
33+
pybind11_abi:
34+
- '4'
35+
python:
36+
- 3.10.* *_cpython
37+
- 3.11.* *_cpython
38+
- 3.12.* *_cpython
39+
- 3.8.* *_cpython
40+
- 3.9.* *_cpython
41+
spdlog:
42+
- '1.12'
43+
target_platform:
44+
- linux-aarch64
45+
zip_keys:
46+
- - c_compiler_version
47+
- cxx_compiler_version

README.md

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

conda-forge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
build_platform:
22
osx_arm64: osx_64
3+
linux_aarch64: linux_64
34
conda_build:
45
pkg_format: '2'
56
conda_forge_output_validation: true
67
github:
78
branch_name: main
89
tooling_branch_name: main
910
test: native_and_emulated
11+
provider:
12+
linux_aarch64: azure

recipe/build_py.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cmake ${CMAKE_ARGS} -GNinja .. \
2222
ninja -v
2323
cmake --build . --config Release --target install
2424

25-
if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" || "${CROSSCOMPILING_EMULATOR:-}" != "" ]]; then
25+
if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" ]]; then
2626
# Tests are not installed, so we run them during the build
2727
# We run them directly via pytest so we detect if we are not compiling some required components
2828
cd ..

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ source:
1414
- 757.patch
1515

1616
build:
17-
number: 3
17+
number: 4
1818

1919
outputs:
2020
- name: {{ namecxx }}

0 commit comments

Comments
 (0)