Skip to content

Commit

Permalink
Don't load toolchain file in CMake workflows (HDFGroup#4077)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored and lrknox committed Mar 21, 2024
1 parent 4f3882a commit 769eb4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 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
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 769eb4b

Please sign in to comment.