diff options
author | knarf <knarf@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-08-04 05:55:36 +0000 |
---|---|---|
committer | knarf <knarf@105869f7-3296-0410-a4ea-f4349344b45a> | 2011-08-04 05:55:36 +0000 |
commit | 80a618b99cf4ad7e0c4ac06645486ac9c0e71c4f (patch) | |
tree | 26e9b87f6050c38ef71e2a3f41e6ff7382e79628 /configure.sh | |
parent | a2f461feb8189da74b24eb628be8827815b7a1bb (diff) |
apparently OPTIMIZE_MODE isn't arriving here, neither is CCTK_OPTIMIZE_MODE. So, for the moment treat an empty OPTIMIZE as 'yes', as Cactus itself also does
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@17 105869f7-3296-0410-a4ea-f4349344b45a
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh index b3135a1..83ae33a 100644 --- a/configure.sh +++ b/configure.sh @@ -26,7 +26,8 @@ esac # vectorisation macros depend on optimisation for efficient code; # without optimisation, the code is most likely much slower than # usual.) -case $(echo "x$OPTIMISE_MODE" | tr '[:upper:]' '[:lower:]') in +case $(echo "x$OPTIMISE$OPTIMIZE" | tr '[:upper:]' '[:lower:]') in + (x) ;; # treat as 'yes' (xyes) ;; # do nothing (xno) VECTORISE=0 ;; # disable vectorisation (*) echo "BEGIN ERROR" |