Skip to content

Commit

Permalink
Merge pull request #205 from minrk/depend-on-gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk authored Jun 25, 2024
2 parents 8921a2c + 53d9071 commit ea4ec9d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions recipe/build-dolfin.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash
set -eux

cd dolfin

# scrub problematic -fdebug-prefix-map from C[XX]FLAGS
# these are loaded in the clang[++] activate scripts
export CFLAGS=$(echo $CFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g')
Expand Down
4 changes: 0 additions & 4 deletions recipe/build-libdolfin.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/bin/bash
set -eux

unset CMAKE_PREFIX_PATH

cd dolfin

# scrub problematic -fdebug-prefix-map from C[XX]FLAGS
# these are loaded in the clang[++] activate scripts
export CFLAGS=$(echo $CFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g')
Expand Down
12 changes: 7 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package:
source:
- url: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-{{ version }}.post0.tar.gz
sha256: 61abdcdb13684ba2a3ba4afb7ea6c7907aa0896a46439d3af7e8848483d4392f
folder: dolfin
patches:
- boost.patch
- linuxboost.patch # [linux]
Expand All @@ -18,7 +17,7 @@ source:
- python-cmake-args.patch

build:
number: 47
number: 48
skip: true # [win]
# this doesn't actually affect the build hashes
# so duplicate where the build hash should actually change
Expand Down Expand Up @@ -128,6 +127,8 @@ outputs:
- hdf5 * {{ mpi_prefix }}_*
run:
- {{ compiler('cxx') }}
# gxx provides default 'c++' executable on linux
- gxx # [linux]
- python
# dolfin depends on the boost headers for its own headers, see
# https://bitbucket.org/fenics-project/dolfin/src/master/dolfin/parameter/Parameters.h#lines-24
Expand All @@ -151,7 +152,7 @@ outputs:
commands:
- bash ${RECIPE_DIR}/parent/test-dolfin.sh
source_files:
- dolfin/python/test
- python/test

requires:
- nose
Expand Down Expand Up @@ -180,9 +181,10 @@ outputs:
about:
home: http://www.fenicsproject.org
license: LGPL-3.0-or-later
license_family: LGPL
license_file:
- dolfin/COPYING
- dolfin/COPYING.LESSER
- COPYING
- COPYING.LESSER
summary: 'FEniCS is a collection of free software for automated, efficient solution of differential equations'

description: |
Expand Down
2 changes: 1 addition & 1 deletion recipe/test-dolfin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ EOF

python -c 'from dolfin import *; info(parameters["form_compiler"], True)'

pushd "dolfin/python/test/unit"
pushd "python/test/unit"
TESTS="jit fem/test_form.py::test_assemble_linear"

RUN_TESTS="python -b -m pytest -vs $TESTS"
Expand Down

0 comments on commit ea4ec9d

Please sign in to comment.