-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jhale/try-cffi-backport' of github.com:FEniCS/dolfinx i…
…nto jhale/try-cffi-backport
- Loading branch information
Showing
6 changed files
with
66 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ on: | |
type: string | ||
dolfinx_version: | ||
description: "DOLFINx release branch/tag to test" | ||
default: "0.8.0" | ||
default: "0.9.0" | ||
type: string | ||
|
||
jobs: | ||
|
@@ -34,7 +34,7 @@ jobs: | |
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe # Newer OpenMPI | ||
OMPI_MCA_rmaps_base_oversubscribe: true # Older OpenMPI | ||
|
||
DOLFINX_RELEASE_VERSION: "${{ github.event_name != 'workflow_dispatch' && '0.8.0' || github.event.inputs.dolfinx_version }}" | ||
DOLFINX_RELEASE_VERSION: "${{ github.event_name != 'workflow_dispatch' && '0.9.0' || github.event.inputs.dolfinx_version }}" | ||
|
||
steps: | ||
- name: Get Spack | ||
|
@@ -100,7 +100,6 @@ jobs: | |
spack env create cpp-release-test | ||
spack env activate cpp-release-test | ||
spack add fenics-dolfinx@${DOLFINX_RELEASE_VERSION}+adios2 cmake py-fenics-ffcx | ||
spack add [email protected] | ||
spack install | ||
cd dolfinx-release/cpp/ | ||
cd demo/poisson | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Helper file for setting non-default DOLFINx environment variables | ||
|
||
# Common Unix variables | ||
export @OS_LIBRARY_PATH_NAME@=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@:$@OS_LIBRARY_PATH_NAME@ | ||
export PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:$PATH | ||
export PKG_CONFIG_PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/pkgconfig:$PKG_CONFIG_PATH | ||
export CMAKE_PREFIX_PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/cmake:$CMAKE_PREFIX_PATH | ||
export @OS_LIBRARY_PATH_NAME@=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@:${@OS_LIBRARY_PATH_NAME@:-} | ||
export PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:${PATH:-} | ||
export PKG_CONFIG_PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/pkgconfig:${PKG_CONFIG_PATH:-} | ||
export CMAKE_PREFIX_PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/cmake:${CMAKE_PREFIX_PATH:-} | ||
|
||
# Special macOS variables | ||
export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:$DYLD_FRAMEWORK_PATH | ||
export DYLD_FRAMEWORK_PATH=/opt/local/Library/Frameworks:${DYLD_FRAMEWORK_PATH:-} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ ARG OPENMPI_PATCH=3 | |
|
||
######################################## | ||
|
||
FROM ubuntu:24.04 as dev-env | ||
FROM ubuntu:24.04 AS dev-env | ||
LABEL maintainer="FEniCS Steering Council <[email protected]>" | ||
LABEL description="FEniCS testing and development environment with PETSc real, complex, 32-bit and 64-bit modes" | ||
|
||
|
@@ -143,8 +143,8 @@ RUN if [ "$MPI" = "mpich" ]; then \ | |
ldconfig && \ | ||
rm -rf /tmp/* | ||
|
||
ENV VIRTUAL_ENV /dolfinx-env | ||
ENV PATH /dolfinx-env/bin:$PATH | ||
ENV VIRTUAL_ENV=/dolfinx-env | ||
ENV PATH=/dolfinx-env/bin:$PATH | ||
RUN python3 -m venv ${VIRTUAL_ENV} | ||
|
||
# Install Python packages (via pip) | ||
|