Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify main branch of cffi fixes complex number issue. #3465

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
5 changes: 5 additions & 0 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libffi-dev
sudo apt-get install catch2 cmake g++ libboost-dev libboost-timer-dev libhdf5-mpi-dev libparmetis-dev libpugixml-dev libspdlog-dev mpi-default-dev ninja-build pkg-config
- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -214,6 +215,8 @@ jobs:

- name: Build Python interface
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Debug" 'python/[test]'
python -c "from mpi4py import MPI; import dolfinx; assert dolfinx.has_adios2; assert dolfinx.has_kahip; assert not dolfinx.has_parmetis; assert dolfinx.has_petsc; assert dolfinx.has_petsc4py; assert dolfinx.has_ptscotch; assert dolfinx.has_slepc; assert dolfinx.has_complex_ufcx_kernels"

Expand Down Expand Up @@ -268,6 +271,8 @@ jobs:

- name: Build Python interface
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install -r python/build-requirements.txt
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Debug" 'python/[docs]'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- name: Install Homebrew dependencies
run: |
brew install libffi
brew install adios2 boost cmake hdf5-mpi make ninja open-mpi pkg-config pugixml spdlog # FEniCS
brew install bison flex gfortran # PETSc

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Install compiler dependencies
run: |
apt-get -y update
apt-get -y install libffi-dev
apt-get -y install binutils libstdc++-14-dev

- uses: actions/checkout@v4
Expand Down Expand Up @@ -97,7 +98,8 @@ jobs:
ctest -R demo -R mpi_2

- name: Build DOLFINx Python interface
run: pip -v install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" python/
run: |
pip -v install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" python/
- name: Run DOLFINx demos (Python, serial)
run: python -m pytest -v -n=2 -m serial --durations=10 python/demo/test.py
- name: Run DOLFINx demos (Python, MPI (np=2))
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

- name: Install FEniCS Python components
run: |
yum -y update
yum install -y libffi-devel
python3 -m pip install git+https://github.com/FEniCS/ufl.git
python3 -m pip install git+https://github.com/FEniCS/basix.git
python3 -m pip install git+https://github.com/FEniCS/ffcx.git
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ authors = [
]
dependencies = [
"numpy>=1.21",
"cffi<1.17", # See https://github.com/FEniCS/dolfinx/issues/3340
"cffi@git+https://github.com/python-cffi/cffi@main",
"mpi4py",
"fenics-basix>=0.10.0.dev0,<0.11.0",
"fenics-ffcx>=0.10.0.dev0,<0.11.0",
Expand Down
Loading