mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 14:07:43 +00:00
eigen from gitlab repo
This commit is contained in:
+1
-9
@@ -511,15 +511,7 @@ if "json" in targets:
|
|||||||
urlretrieve(json_url, json_install_path)
|
urlretrieve(json_url, json_install_path)
|
||||||
|
|
||||||
if "eigen" in targets:
|
if "eigen" in targets:
|
||||||
eigen_url = "http://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz"
|
git_clone_or_pull_repository("https://gitlab.com/libeigen/eigen.git", "{DEPS_DIR}/install/eigen-3.3.7".format(**locals()), revision="3.3.7")
|
||||||
eigen_build_path = "{DEPS_DIR}/build/Eigen-3.3.7.tar.gz".format(**locals())
|
|
||||||
eigen_install_path = "{DEPS_DIR}/install/Eigen-3.3.7/Eigen".format(**locals())
|
|
||||||
if not os.path.exists(eigen_build_path):
|
|
||||||
urlretrieve(eigen_url, eigen_build_path)
|
|
||||||
if not os.path.exists(eigen_install_path):
|
|
||||||
if not os.path.exists(os.path.dirname(eigen_install_path)):
|
|
||||||
os.makedirs(os.path.dirname(eigen_install_path))
|
|
||||||
run([tar, "-xf", eigen_build_path, "--strip-components", "1", "-C", os.path.dirname(eigen_install_path), "eigen-eigen-323c052e1731/Eigen"])
|
|
||||||
|
|
||||||
if "pcre" in targets:
|
if "pcre" in targets:
|
||||||
build_dependency(
|
build_dependency(
|
||||||
|
|||||||
Reference in New Issue
Block a user