Skip to content

Commit

Permalink
Merge branch 'rm-mac-amd64' into 'master'
Browse files Browse the repository at this point in the history
[ci] Remove amd64 job, enable gui on arm64.

See merge request ogs/ogs!5089
  • Loading branch information
bilke committed Sep 5, 2024
2 parents b88322b + acbd229 commit febbea5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 48 deletions.
9 changes: 5 additions & 4 deletions scripts/ci/jobs/build-gui-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ build gui mac:
stage: build
tags:
- mac
- ${ARCHITECTURE}
- arm64
needs: [meta]
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- changes:
- Applications/DataExplorer/**/*
- scripts/ci/jobs/build-gui-mac.yml
- when: manual
allow_failure: true
variables:
CMAKE_PRESET: release-gui
parallel:
matrix:
- ARCHITECTURE: ["amd64"] # "arm64" not supported yet
CMAKE_ARGS: >-
-DOGS_USE_NETCDF=OFF
-DQt5_DIR=/opt/qt/5.15.14/lib/cmake/Qt5
25 changes: 2 additions & 23 deletions scripts/ci/jobs/build-mac-petsc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
build mac petsc arm64:
tags:
- mac
- arm64
build mac petsc:
tags: [mac, arm64]
extends:
- .template-build-linux
- .test-artifacts
Expand All @@ -13,22 +11,3 @@ build mac petsc arm64:
CMAKE_PRESET: release-petsc
CMAKE_ARGS: >-
-DOGS_USE_PIP=ON
build mac petsc amd64:
tags:
- mac
- amd64
extends:
- .template-build-linux
- .test-artifacts
needs: [meta]
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: $CI_COMMIT_BRANCH =~ /^v[0-9]\.[0-9]\.[0-9]/
- when: manual
allow_failure: true
variables:
CMAKE_PRESET: release-petsc
CMAKE_ARGS: >-
-DOGS_BUILD_PROCESSES=SteadyStateDiffusion
-DOGS_BUILD_HDF5=ON
16 changes: 1 addition & 15 deletions scripts/ci/jobs/build-mac.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
build mac:
tags:
- mac
- ${ARCHITECTURE}
tags: [mac, arm64]
extends:
- .template-build-linux
- .test-artifacts
needs: [meta]
rules:
- if: '$ARCHITECTURE == "amd64"'
variables:
CTEST_ARGS: "-E LARGE" # disable large notebook tests
- if: '$ARCHITECTURE == "arm64"'
- if: '$CI_COMMIT_BRANCH == "master"'
- if: $CI_COMMIT_BRANCH =~ /^v[0-9]\.[0-9]\.[0-9]/
- when: manual
allow_failure: true
variables:
CHECK_WARNINGS: "true"
CMAKE_PRESET: release-all
CMAKE_ARGS: >-
-DOGS_BUILD_HDF5=ON
parallel:
matrix:
- ARCHITECTURE: ["amd64", "arm64"]
7 changes: 1 addition & 6 deletions scripts/ci/jobs/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,9 @@ build wheels linux:
<<: *wheels_template

build wheels mac:
tags:
- mac
- ${ARCHITECTURE}
tags: [mac, arm64]
variables:
CMAKE_OSX_DEPLOYMENT_TARGET: "10.15"
parallel:
matrix:
- ARCHITECTURE: ["amd64", "arm64"]
<<: *wheels_template

build wheels win:
Expand Down
4 changes: 4 additions & 0 deletions scripts/cmake/DependenciesExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,10 @@ if(NOT VTK_FOUND)
endif()
endif()

if(DEFINED Qt5_DIR)
list(APPEND VTK_OPTIONS "-DQt5_DIR=${Qt5_DIR}")
endif()

BuildExternalProject(
VTK ${_vtk_source} CMAKE_ARGS ${VTK_OPTIONS} ${_defaultCMakeArgs}
${_vtk_patch} ${_cmake_generator}
Expand Down

0 comments on commit febbea5

Please sign in to comment.