use spack location to get build.out
authorDenis Davydov <davydden@gmail.com>
Fri, 27 Oct 2017 05:34:16 +0000 (07:34 +0200)
committerDenis Davydov <davydden@gmail.com>
Fri, 27 Oct 2017 05:34:16 +0000 (07:34 +0200)
deal.II-in-Spack.md

index 1ddf1660940eee5e4b6d425c174e2f8a7b36a29e..a2eda2ebe98a6f2f61f14175b4238aaabf1fd18a 100644 (file)
@@ -385,7 +385,7 @@ You would need to adjust the path to the `dea.II` source folder (first path) and
 
 Assuming that your build folder is within the `dealii` sources (tha'ts what `..\/` is for below), you can get this substitution done by
 ```
-$ cat build.out | grep "==> 'cmake'" | sed -e "s/[^ ]*[^ ]/'..\/'/3" | cut -d " " -f2-
+$ cat $(spack location -i dealii)/.spack/build.out | grep "==> 'cmake'" | sed -e "s/[^ ]*[^ ]/'..\/'/3" | cut -d " " -f2-
 ```
 
 Before running `cmake` from the build folder, you may want to run 

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.