Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci-spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/checkout@v6
with:
repository: spack/spack
ref: develop
ref: v1.1.1
path: spack-src

- name: Get upstream Spack packages
Expand Down Expand Up @@ -92,7 +92,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
. ./spack-src/share/spack/setup-env.sh
spack -e py buildcache push --base-image ghcr.io/almalinux/almalinux:10 --update-index local-buildcache
spack debug report
spack -d -e py buildcache push --base-image ghcr.io/almalinux/almalinux:10 --update-index local-buildcache
if: ${{ !cancelled() }}

- name: Load FEniCS testing environment variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions/checkout@v6
with:
repository: spack/spack
ref: develop
ref: v1.1.1
path: spack-src

- name: Get upstream Spack packages
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: Set up Spack
uses: spack/setup-spack@main
with:
ref: develop # Spack version (examples: develop, releases/v0.23)
color: true # Force color output (SPACK_COLOR=always)
path: spack-src # Where to clone Spack
spack_ref: v1.1.1
color: true
path: spack-src
- name: Add Spack package repository
if: github.event_name == 'workflow_dispatch'
shell: spack-bash {0}
Expand Down Expand Up @@ -98,9 +98,9 @@ jobs:
- name: Set up Spack
uses: spack/setup-spack@main
with:
ref: develop # Spack version (examples: develop, releases/v0.23)
color: true # Force color output (SPACK_COLOR=always)
path: spack-src # Where to clone Spack
spack_ref: v1.1.1
color: true
path: spack-src
- name: Add Spack package repository
if: github.event_name == 'workflow_dispatch'
shell: spack-bash {0}
Expand Down
8 changes: 7 additions & 1 deletion cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (PROJECT_IS_TOP_LEVEL)
endif()

if(GLIBCXX)
list(APPEND DOLFINX_CXX_DEVELOPER_DEFINITIONS _GLIBCXX_ASSERTIONS)
list(APPEND DOLFINX_CXX_DEVELOPER_DEFINITIONS _GLIBCXX_ASSERTIONS)
endif()

# Turn off some checks in gcc12 and gcc13 due to false positives with the fmt
Expand Down Expand Up @@ -104,6 +104,12 @@ add_executable(
target_link_libraries(unittests PRIVATE Catch2::Catch2 dolfinx)
target_compile_features(unittests PRIVATE cxx_std_20 c_std_17)

# NOTE: Fixes when using Catch2 <= 3.13 with Clang 22 and derivatives.
# https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md#3140
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
target_compile_options(unittests PRIVATE -Wno-c2y-extensions)
endif()

# UUID requires bcrypt to be linked on Windows, broken in vcpkg.
# https://github.com/microsoft/vcpkg/issues/4481
if(WIN32)
Expand Down
Loading