Skip to content

Commit 1714cdd

Browse files
jhaleclaude
andauthored
Use RelWithDebInfo rather than RelWithDebug when building wheels (#4430)
RelWithDebug is not a CMake build type, so CMAKE_CXX_FLAGS_RELWITHDEBUG is empty and the C++ library was built for the Linux and macOS wheels with no optimisation flags at all. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 951e809 commit 1714cdd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
cmake -G Ninja -S dolfinx/cpp -B dolfinx-build-dir/ \
202202
-DPython3_EXECUTABLE=$(which python) \
203203
-DCMAKE_PREFIX_PATH=/usr/lib64/mpich \
204-
-DCMAKE_BUILD_TYPE=RelWithDebug \
204+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
205205
-DDOLFINX_ENABLE_SUPERLU_DIST=ON \
206206
-DDOLFINX_ENABLE_SCOTCH=ON \
207207
-DDOLFINX_ENABLE_PARMETIS=OFF &&
@@ -240,7 +240,7 @@ jobs:
240240
-DDOLFINX_ENABLE_SCOTCH=ON \
241241
-DDOLFINX_ENABLE_PARMETIS=OFF \
242242
-DDOLFINX_ENABLE_SUPERLU_DIST=ON \
243-
-DCMAKE_BUILD_TYPE=RelWithDebug &&
243+
-DCMAKE_BUILD_TYPE=RelWithDebInfo &&
244244
cmake --build $GITHUB_WORKSPACE/dolfinx-build-dir/ &&
245245
sudo cmake --install dolfinx-build-dir/
246246
# As of 6/26 DOLFINx uses std::jthread which is only officially

0 commit comments

Comments
 (0)