]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Strip intel_ of the compiler name
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Mar 2004 08:41:52 +0000 (08:41 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Mar 2004 08:41:52 +0000 (08:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@8842 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile

index 564f4baf61a407fb4e5e655ed354c30224b29d30..a454741abcad10248412d041b4265339358a677c 100644 (file)
@@ -109,11 +109,16 @@ all-headers:
         done
        @rm -rf tmp-all-headers
 
-# Generate a link to system specific test program output
 
+# generate a link to system specific test program output. we create
+# the name out of the system and compiler. unfortunately, for intel
+# compilers, the variable $(GXX-VERSION) reads intel_icc7.1 (with
+# proper version number), while for some historic reason we have named
+# the directories in the results/ tree with just icc7.1 (i.e. without
+# the preceding intel_). Thus, strip this part of the compiler name
 compare:
        cd results; $(MAKE)
-       ln -s results/$(TARGET)+$(GXX-VERSION) compare
+       ln -s results/$(TARGET)+$(GXX-VERSION:intel_%=%) compare
 
 resultname:
        @echo $(TARGET)+$(GXX-VERSION)

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.