Skip to content

Commit

Permalink
Merge pull request #34 from Tobias-Fischer/arm1.10
Browse files Browse the repository at this point in the history
Arm migration 1.10 branch
  • Loading branch information
Tobias-Fischer authored Jan 30, 2021
2 parents 07ed869 + e4020e1 commit 4be66f9
Show file tree
Hide file tree
Showing 13 changed files with 181 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-linux.yml

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

10 changes: 6 additions & 4 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
c_compiler:
- gcc
c_compiler_version:
- '7'
- '9'
cdt_name:
- cos6
channel_sources:
Expand All @@ -11,13 +11,13 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
- '9'
docker_image:
- condaforge/linux-anvil-comp7
- quay.io/condaforge/linux-anvil-comp7
freetype:
- '2'
openexr:
- 2.5.1
- '2.5'
pin_run_as_build:
freetype:
max_pin: x
Expand All @@ -28,5 +28,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- - cdt_name
- docker_image
zlib:
- '1.2'
36 changes: 36 additions & 0 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
BUILD:
- aarch64-conda_cos7-linux-gnu
c_compiler:
- gcc
c_compiler_version:
- '9'
cdt_arch:
- aarch64
cdt_name:
- cos7
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '9'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
freetype:
- '2'
openexr:
- '2.5'
pin_run_as_build:
freetype:
max_pin: x
zlib:
max_pin: x.x
target_platform:
- linux-aarch64
zip_keys:
- - c_compiler_version
- cxx_compiler_version
zlib:
- '1.2'
32 changes: 32 additions & 0 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
c_compiler:
- gcc
c_compiler_version:
- '9'
cdt_name:
- cos7
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
- gxx
cxx_compiler_version:
- '9'
docker_image:
- quay.io/condaforge/linux-anvil-ppc64le
freetype:
- '2'
openexr:
- '2.5'
pin_run_as_build:
freetype:
max_pin: x
zlib:
max_pin: x.x
target_platform:
- linux-ppc64le
zip_keys:
- - c_compiler_version
- cxx_compiler_version
zlib:
- '1.2'
6 changes: 3 additions & 3 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ MACOSX_DEPLOYMENT_TARGET:
c_compiler:
- clang
c_compiler_version:
- '10'
- '11'
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '10'
- '11'
freetype:
- '2'
macos_machine:
- x86_64-apple-darwin13.4.0
openexr:
- 2.5.1
- '2.5'
pin_run_as_build:
freetype:
max_pin: x
Expand Down
4 changes: 1 addition & 3 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ cxx_compiler:
freetype:
- '2'
openexr:
- 2.5.1
- '2.5'
pin_run_as_build:
freetype:
max_pin: x
zlib:
max_pin: x.x
target_platform:
- win-64
vc:
- '14'
zlib:
- '1.2'
31 changes: 31 additions & 0 deletions .drone.yml

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

12 changes: 8 additions & 4 deletions .scripts/run_docker_build.sh

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

20 changes: 20 additions & 0 deletions .travis.yml

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

30 changes: 29 additions & 1 deletion README.md

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

1 change: 1 addition & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
conda_forge_output_validation: true
provider: {linux_aarch64: default, linux_ppc64le: default}
10 changes: 9 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
mkdir build
cd build

# This is needed as otherwise the log limit exceeds on Travis
if [ ${target_platform} == "linux-ppc64le" ]; then
WARNING_FLAGS=-DCMAKE_CXX_FLAGS="-Wno-deprecated-copy"
else
WARNING_FLAGS=
fi

cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
Expand All @@ -19,7 +26,8 @@ cmake .. \
-DOGRE_INSTALL_PDB=FALSE \
-DOGRE_RESOURCEMANAGER_STRICT=0 \
-DOGRE_CONFIG_THREAD_PROVIDER="std" \
-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0
-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=0 \
${WARNING_FLAGS}

make -j${CPU_COUNT}
make install
9 changes: 4 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ source:
- 0002-osx-no-framework.patch # [osx]

build:
number: 6
skip: true # [win and vc<14]
number: 7
run_exports:
- {{ pin_subpackage('ogre', max_pin='x.x') }}

Expand Down Expand Up @@ -43,8 +42,8 @@ requirements:
- freeimage
- openexr
- sdl2
- swig # [unix]
- mono # [unix]
- swig # [unix and not aarch64 and not ppc64le]
- mono # [unix and not aarch64 and not ppc64le]
run:
- xorg-libx11 # [unix]
- xorg-libxaw # [unix]
Expand All @@ -55,7 +54,7 @@ requirements:
- freeimage
- openexr
- sdl2
- swig # [unix]
- swig # [unix and not aarch64 and not ppc64le]

test:
commands:
Expand Down

0 comments on commit 4be66f9

Please sign in to comment.