Skip to content

Commit febf95f

Browse files
committed
Merge commit '3a1f30ff09bae7811950d879e9c4a1eef0822716'
2 parents f5f9c17 + 3a1f30f commit febf95f

File tree

7 files changed

+480
-30
lines changed

7 files changed

+480
-30
lines changed

.github/workflows/cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
jobs:
3434
cmake-linux:
3535
name: ${{ matrix.container }} ${{ matrix.compiler_mpi }} openmp=${{ matrix.openmp }} ${{ matrix.build_type }}
36-
runs-on: [ubuntu-latest]
36+
runs-on: [ubuntu-24.04]
3737
container: ${{ matrix.container }}
3838
strategy:
3939
matrix:
@@ -167,7 +167,7 @@ jobs:
167167
runs-on: ${{ matrix.os }}
168168
steps:
169169
- name: Checkout code
170-
uses: actions/checkout@v3
170+
uses: actions/checkout@v4
171171

172172
- name: install openmpi
173173
run: brew install open-mpi
@@ -271,7 +271,7 @@ jobs:
271271
- name: build fds
272272
run: |
273273
call Build\Scripts\setup_intel_compilers.bat
274-
cmake -B builddir -S . -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DUSE_SUNDIALS=OFF -DUSE_HYPRE=ON -DHYPRE_FMANGLE=4 -DUSE_OPENMP=${{matrix.openmp}}
274+
cmake -B builddir -S . -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DUSE_SUNDIALS=OFF -DUSE_HYPRE=ON -DUSE_OPENMP=${{matrix.openmp}}
275275
cmake --build builddir -j --target fds
276276
277277
- name: Test

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,8 @@ Validation/*/FDS_Output_Files/*.csv
9999

100100
# Verification script generated fds files
101101
Verification/Timing_Benchmarks/t*.fds
102+
103+
# Local cmake configuration
104+
CMakeUserPresets.json
105+
Build/cmakeb/
106+
.vscode/

CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,17 @@ if(USE_HYPRE)
151151
set(HYPRE_GIT_VERSION "2.32.0" )
152152
FetchContent_Declare(
153153
HYPRE
154-
# GIT_REPOSITORY https://github.com/hypre-space/hypre.git
155-
# GIT_TAG b6d8c3085af64988f8f8bc21b7aef12ab49c5430 # v${HYPRE_GIT_VERSION}
156-
154+
GIT_REPOSITORY https://github.com/hypre-space/hypre.git
157155
# Currently we need to refer directly to a commit which contains a
158156
# patch to handle HYPRE_FMANGLE
159-
GIT_REPOSITORY https://github.com/JakeOShannessy/hypre.git
160-
GIT_TAG b6d8c3085af64988f8f8bc21b7aef12ab49c5430 # v2.32.0
157+
GIT_TAG 6d01417697aa84d118eb1e1eb91315df42575be5 # v${HYPRE_GIT_VERSION}
161158
SOURCE_SUBDIR src
162159
OVERRIDE_FIND_PACKAGE
163160
)
161+
# Set some options for building hypre
162+
if (WIN32)
163+
set(HYPRE_ENABLE_FMANGLE CAPS)
164+
endif()
164165
FetchContent_MakeAvailable(HYPRE)
165166
endif()
166167

0 commit comments

Comments
 (0)