Commit 8968b92b authored by Christian Engwer's avatar Christian Engwer
Browse files

[CI] retrieve TPMC prefix from pip

parent 22f6c2a8
---
variables:
DUNECI_CMAKE_FLAGS: -DTPMC_PREFIX=/duneci/.local/lib/python3.7/site-packages/tpmc/
before_script:
- pip -v install git+https://github.com/tpmc/tpmc.git
- ls -d /duneci/.local/lib/python*/site-packages/tpmc/
- python --version
- duneci-install-module https://gitlab.dune-project.org/extensions/dune-tpmc.git
- export DUNECI_CMAKE_FLAGS="-DTPMC_PREFIX=$(pip show tpmc | grep ^Location | sed -e 's/^Location. //')"
- echo "TPMC flags"; env | grep DUNECI_CMAKE_FLAGS
- find $(pip show tpmc | grep ^Location | sed -e 's/^Location. //')
- duneci-install-module https://gitlab.dune-project.org/pdelab/dune-pdelab.git
- duneci-install-module "https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.dune-project.org/cutcell/dune-udg.git"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment