Skip to content
Snippets Groups Projects
Commit 4dd9e0cc authored by Timo Koch's avatar Timo Koch
Browse files

[ci] Restore internal Python environment also for cpp build

This is because Dune currently installs Python packages during make for some reason.
parent f9463e69
No related branches found
No related tags found
1 merge request!2940[ci] Restore internal Python environment also for cpp build
Pipeline #11182 passed
Pipeline: dumux-lecture

#11198

    Pipeline: dumux

    #11193

      Pipeline: dumux

      #11192

        +2
        ...@@ -110,10 +110,12 @@ select tests: ...@@ -110,10 +110,12 @@ select tests:
        compile cpp: compile cpp:
        stage: build stage: build
        script: script:
        # remove cached Python dune-env if existing (not needed for C++) (Dune 2.9) # restore Python virtual env from cache (job:configure artifacts) (Dune 2.9)
        # shouldn't be needed to compile C++ but currently is (https://gitlab.dune-project.org/core/dune-common/-/issues/279)
        - | - |
        if [ -d "build-cmake/dune-env" ]; then if [ -d "build-cmake/dune-env" ]; then
        rm -r build-cmake/dune-env rm -r /dune/modules/dune-common/build-cmake/dune-env
        mv build-cmake/dune-env /dune/modules/dune-common/build-cmake/dune-env
        fi fi
        - | - |
        pushd build-cmake pushd build-cmake
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment