more lib compilation updates

This commit is contained in:
Axel Kohlmeyer
2017-08-08 07:20:33 -04:00
parent 8bba29d91e
commit b3244f9c98
18 changed files with 312 additions and 250 deletions

View File

@ -98,7 +98,7 @@ if buildflag:
edir = glob.glob("%s/eigen-eigen-*" % homepath)
for one in edir:
if os.path.isdir(one):
subprocess.check_output("rm -rf %s" % one,stderr=subprocess.STDOUT,shell=True)
subprocess.check_output('rm -rf "%s"' % one,stderr=subprocess.STDOUT,shell=True)
cmd = 'cd "%s"; tar -xzvf %s' % (homepath,tarball)
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)
edir = glob.glob("%s/eigen-eigen-*" % homepath)
@ -113,5 +113,5 @@ if linkflag:
os.remove("includelink")
if pathflag: linkdir = eigenpath
else: linkdir = "%s/%s" % (homepath,homedir)
cmd = "ln -s %s includelink" % linkdir
cmd = 'ln -s "%s" includelink' % linkdir
subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True)