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

Enable aarch64 build via cross-compilation on Azure #135

Merged
merged 3 commits into from
Jun 6, 2022
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.

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