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

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Fix.
jhale committed Oct 18, 2024
commit 365b0d007d68665ad23c410f87986315a21c7b45
12 changes: 6 additions & 6 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
@@ -87,8 +87,6 @@ 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
@@ -134,6 +132,8 @@ jobs:

- name: Build Python interface
run: |
sudo apt-get -y update
sudo 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 not dolfinx.has_petsc4py"

@@ -181,8 +181,6 @@ jobs:
- name: Install FEniCS Python components
if: github.event_name == 'workflow_dispatch'
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install git+https://github.com/FEniCS/ufl.git@${{ github.event.inputs.ufl_ref }}
pip install git+https://github.com/FEniCS/basix.git@${{ github.event.inputs.basix_ref }}
pip install git+https://github.com/FEniCS/ffcx.git@${{ github.event.inputs.ffcx_ref }}
@@ -218,6 +216,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"

@@ -254,8 +254,6 @@ jobs:
- name: Install FEniCS Python components (default branches/tags)
if: github.event_name != 'workflow_dispatch'
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install git+https://github.com/FEniCS/ufl.git
pip install git+https://github.com/FEniCS/basix.git
pip install git+https://github.com/FEniCS/ffcx.git
@@ -274,6 +272,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]'

2 changes: 1 addition & 1 deletion .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -98,7 +99,6 @@ jobs:

- name: Build DOLFINx Python interface
run: |
apt-get -y install libffi-dev
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