Skip to content

Commit

Permalink
remove unneeded dolfin subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jun 24, 2024
1 parent 8921a2c commit 207f2ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 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
8 changes: 4 additions & 4 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 Down Expand Up @@ -151,7 +150,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 +179,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 207f2ea

Please sign in to comment.