Skip to content

Commit

Permalink
Merge pull request #135 from traversaro/aarch64
Browse files Browse the repository at this point in the history
Enable aarch64 build via cross-compilation on Azure
  • Loading branch information
traversaro authored Jun 6, 2022
2 parents 27ba3ca + 4f743b5 commit e5b4bd5
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 0 deletions.
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.

64 changes: 64 additions & 0 deletions .ci_support/linux_aarch64_OGRE_VERSION1.10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
OGRE_VERSION:
- '1.10'
boost_cpp:
- 1.74.0
c_compiler:
- gcc
c_compiler_version:
- '10'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '7'
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
ffmpeg:
- '4.4'
graphviz:
- '3'
hdf5:
- 1.12.1
libcurl:
- '7'
libgdal:
- '3.5'
libprotobuf:
- '3.20'
libuuid:
- '2'
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
curl:
max_pin: x
graphviz:
max_pin: x
libcurl:
max_pin: x
libgdal:
max_pin: x.x
libuuid:
max_pin: x
qt_main:
- '5.15'
target_platform:
- linux-aarch64
tbb_devel:
- '2021'
tinyxml2:
- '9'
zip_keys:
- - c_compiler_version
- cxx_compiler_version
64 changes: 64 additions & 0 deletions .ci_support/linux_aarch64_OGRE_VERSION1.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
OGRE_VERSION:
- '1.12'
boost_cpp:
- 1.74.0
c_compiler:
- gcc
c_compiler_version:
- '10'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
curl:
- '7'
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
ffmpeg:
- '4.4'
graphviz:
- '3'
hdf5:
- 1.12.1
libcurl:
- '7'
libgdal:
- '3.5'
libprotobuf:
- '3.20'
libuuid:
- '2'
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
curl:
max_pin: x
graphviz:
max_pin: x
libcurl:
max_pin: x
libgdal:
max_pin: x.x
libuuid:
max_pin: x
qt_main:
- '5.15'
target_platform:
- linux-aarch64
tbb_devel:
- '2021'
tinyxml2:
- '9'
zip_keys:
- - c_compiler_version
- cxx_compiler_version
14 changes: 14 additions & 0 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,7 +1,10 @@
build_platform:
osx_arm64: osx_64
linux_aarch64: linux_64
conda_forge_output_validation: true
github:
branch_name: main
tooling_branch_name: main
test_on_native_only: true
provider:
linux_aarch64: default
1 change: 1 addition & 0 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" == 1 ]]; then
unset CXXFLAGS

cmake .. \
-G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$BUILD_PREFIX -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX \
-DCMAKE_INSTALL_LIBDIR=lib \
Expand Down

0 comments on commit e5b4bd5

Please sign in to comment.