diff options
author | Isuru Fernando <isuruf@gmail.com> | 2017-11-06 19:00:23 -0600 |
---|---|---|
committer | Ian Henriksen <insertinterestingnamehere@gmail.com> | 2017-11-06 21:12:38 -0600 |
commit | 92683142907ca9f5807cdd93688d928ffeaf87f3 (patch) | |
tree | 16ab8889eac87732cb37fb70c40bd45f2351b663 /exports | |
parent | 3ace0fda3f0767d9c1a02d1601a026cd000fef70 (diff) | |
download | openblas-92683142907ca9f5807cdd93688d928ffeaf87f3.tar.gz openblas-92683142907ca9f5807cdd93688d928ffeaf87f3.tar.bz2 openblas-92683142907ca9f5807cdd93688d928ffeaf87f3.zip |
Fix gensymbol script
Diffstat (limited to 'exports')
-rw-r--r-- | exports/gensymbol | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/exports/gensymbol b/exports/gensymbol index 89c6e8320..f1983d458 100644 --- a/exports/gensymbol +++ b/exports/gensymbol @@ -3411,13 +3411,17 @@ ); +use File::Spec; +use File::Basename; +my $dirname = File::Spec->catfile(dirname(dirname(File::Spec->rel2abs(__FILE__))), "lapack-netlib"); + if ($ARGV[8] == 1) { #ONLY_CBLAS=1 @underscore_objs = (@misc_underscore_objs); } elsif ($ARGV[5] == 1) { #NO_LAPACK=1 @underscore_objs = (@blasobjs, @misc_underscore_objs); -} elsif (-d "../lapack-netlib") { +} elsif (-d $dirname) { if ($ARGV[7] == 0) { # NEED2UNDERSCORES=0 # Don't need 2 underscores |