]> https://gitweb.dealii.org/ - dealii.git/commitdiff
osx: use separate build directory.
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 23 Oct 2024 14:14:40 +0000 (16:14 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 23 Oct 2024 18:06:10 +0000 (20:06 +0200)
.github/workflows/osx.yml

index 9e5ed1fe9a6aeb05670cb30ec9ae4c366fe09e41..2c7a221df160ded662c59f65505a2edcc58a39ad 100644 (file)
@@ -39,11 +39,17 @@ jobs:
         cmake --version
     - name: configure
       run: |
-        cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON .
+        mkdir build
+        cd build
+        cmake -D CMAKE_BUILD_TYPE=Debug \
+              -D DEAL_II_CXX_FLAGS='-Werror' \
+              -D DEAL_II_EARLY_DEPRECATIONS=ON \
+              ..
     - name: print detailed.log
-      run: cat detailed.log
+      run: cat build/detailed.log
     - name: build
       run: |
+        cd build
         make VERBOSE=1 -j2
         make -j2 \
           setup_tests_a-framework \
@@ -86,11 +92,19 @@ jobs:
         cmake --version
     - name: configure
       run: |
-        CC=mpicc CXX=mpic++ cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON -D DEAL_II_WITH_MPI=on .
+        mkdir build
+        cd build
+        cmake -D CMAKE_BUILD_TYPE=Debug \
+              -D DEAL_II_WITH_64BIT_INDICES=ON \
+              -D DEAL_II_CXX_FLAGS='-Werror' \
+              -D DEAL_II_EARLY_DEPRECATIONS=ON \
+              -D DEAL_II_WITH_MPI=ON \
+              ..
     - name: print detailed.log
-      run: cat detailed.log
+      run: cat build/detailed.log
     - name: build
       run: |
+        cd build
         make VERBOSE=1 -j2
         make -j2 \
           setup_tests_a-framework \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.