Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
e3493ad8
Commit
e3493ad8
authored
2 years ago
by
Dennis Gläser
Committed by
Timo Koch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ci] temporary fix for conflicts with opm cmake setup
parent
b3b0ce85
No related branches found
No related tags found
1 merge request
!3415
[ci] temporary fix for conflicts with opm cmake setup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci/default.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci/default.yml
with
15 additions
and
0 deletions
.gitlab-ci/default.yml
+
15
−
0
View file @
e3493ad8
...
...
@@ -219,6 +219,21 @@ test python:
else
echo "Detected changes in the Python bindings/Python code: considering all Python tests."
fi
# WARNING: this is a hack, but probably requires an upstream fix in DUNE?
# The issue is that the JIT compilation setup fails with cmake errors when
# opm is present. Cmake complains that the SuperLU::SuperLU target is not found
# (and maybe also SuiteSparse). OPM has its own find modules for these two, and
# (maybe) overwrites some compiler flags. Upstream fixes would be to either allow
# "deactivation" of certain python modules (here: opm), or fixing the incompatibility
# of the find modules (although this doesn't appear to be an issue in C++). For now,
# one fix is to overwrite the find modules in opm with those of dune before setting
# up the dune python environment.
if [[ -d /dune/modules/opm-common ]]; then
cp /dune/modules/dune-common/cmake/modules/FindSuiteSparse.cmake /dune/modules/opm-common/cmake/Modules/FindSuiteSparse.cmake
cp /dune/modules/dune-istl/cmake/modules/FindSuperLU.cmake /dune/modules/opm-common/cmake/Modules/FindSuperLU.cmake
fi
source bin/testing/ci-setup-python-env.sh
pushd build-cmake
DUNE_LOG_LEVEL=DEBUG ctest --output-on-failure -L python
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment