mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:20:56 +00:00
Small fixes to build script
This commit is contained in:
+2
-1
@@ -196,6 +196,7 @@ dependency_tree = {
|
|||||||
'python': (),
|
'python': (),
|
||||||
'swig': (),
|
'swig': (),
|
||||||
'occ': (),
|
'occ': (),
|
||||||
|
'cgal': (),
|
||||||
'pcre': ()
|
'pcre': ()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -285,7 +286,7 @@ def run_autoconf(arg1, configure_args, cwd):
|
|||||||
install_dir = os.path.realpath("%s/install/%s" % (DEPS_DIR, arg1))
|
install_dir = os.path.realpath("%s/install/%s" % (DEPS_DIR, arg1))
|
||||||
if not os.path.exists(install_dir):
|
if not os.path.exists(install_dir):
|
||||||
# Some (MPFR) need to have prefix dir manually created
|
# Some (MPFR) need to have prefix dir manually created
|
||||||
os.mkdir(install_dir)
|
os.makedirs(install_dir)
|
||||||
if not os.path.exists(configure_path):
|
if not os.path.exists(configure_path):
|
||||||
run([bash, "./autogen.sh"], cwd=os.path.realpath(os.path.join(cwd, ".."))) # only run autogen.sh in the directory it is located and use cwd to achieve that in order to not mess up things
|
run([bash, "./autogen.sh"], cwd=os.path.realpath(os.path.join(cwd, ".."))) # only run autogen.sh in the directory it is located and use cwd to achieve that in order to not mess up things
|
||||||
# Using `sh` over `bash` fixes issues with building swig
|
# Using `sh` over `bash` fixes issues with building swig
|
||||||
|
|||||||
Reference in New Issue
Block a user