Skip to content

Commit

Permalink
Don't load toolchain file in CMake workflows (#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored Mar 7, 2024
1 parent 9d8e882 commit 2a2c683
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main-cmake-spc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_TOOLCHAIN_FILE=config/toolchain/gcc.cmake \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \
Expand Down Expand Up @@ -109,7 +108,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_TOOLCHAIN_FILE=config/toolchain/gcc.cmake \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \
Expand Down Expand Up @@ -170,7 +168,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_TOOLCHAIN_FILE=config/toolchain/gcc.cmake \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \
Expand Down Expand Up @@ -231,7 +228,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
-G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_TOOLCHAIN_FILE=config/toolchain/gcc.cmake \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
-DHDF5_ENABLE_PARALLEL:BOOL=OFF \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ jobs:
# No Fortran, parallel, or VFDs that rely on POSIX things
- name: "Windows MSVC"
os: windows-latest
toolchain: ""
cpp: ON
fortran: OFF
java: ON
Expand Down Expand Up @@ -83,7 +82,6 @@ jobs:
mirror_vfd: ON
direct_vfd: ON
ros3_vfd: ON
toolchain: "-DCMAKE_TOOLCHAIN_FILE=config/toolchain/gcc.cmake"
generator: "-G Ninja"
run_tests: true

Expand All @@ -106,7 +104,6 @@ jobs:
mirror_vfd: ON
direct_vfd: OFF
ros3_vfd: OFF
toolchain: "-DCMAKE_TOOLCHAIN_FILE=config/toolchain/clang.cmake"
generator: "-G Ninja"
run_tests: true

Expand Down Expand Up @@ -182,7 +179,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
${{ matrix.generator }} \
-DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} \
${{ matrix.toolchain }} \
-DBUILD_SHARED_LIBS=ON \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
-DHDF5_ENABLE_DOXY_WARNINGS=ON \
Expand Down Expand Up @@ -210,7 +206,6 @@ jobs:
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
${{ matrix.generator }} \
-DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} \
${{ matrix.toolchain }} \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=${{ (matrix.os != 'windows-latest') }} \
-DHDF5_ENABLE_ALL_WARNINGS=ON \
Expand Down

0 comments on commit 2a2c683

Please sign in to comment.