From c5a238978755e6624a42cf635b04ed3abde3e403 Mon Sep 17 00:00:00 2001 From: LTLA Date: Thu, 2 Jan 2025 01:11:12 -0800 Subject: [PATCH] Use igraph's vendored dependencies to avoid delocate problems. --- setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 90381b1..de30e8f 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,16 @@ def build_cmake(self, ext): "-B", build_dir, "-DCMAKE_POSITION_INDEPENDENT_CODE=true", "-DIGRAPH_WARNINGS_AS_ERRORS=OFF", - "-DCMAKE_INSTALL_PREFIX=" + install_dir + "-DCMAKE_INSTALL_PREFIX=" + install_dir, + "-DIGRAPH_USE_INTERNAL_GMP=ON", + "-DIGRAPH_USE_INTERNAL_BLAS=ON", + "-DIGRAPH_USE_INTERNAL_LAPACK=ON", + "-DIGRAPH_USE_INTERNAL_ARPACK=ON", + "-DIGRAPH_USE_INTERNAL_GLPK=ON", + "-DIGRAPH_USE_INTERNAL_GMP=ON", + "-DIGRAPH_USE_INTERNAL_PLFIT=ON", + "-DIGRAPH_ENABLE_LTO=ON", + "-DIGRAPH_OPENMP_SUPPORT=OFF", ] if os.name != "nt": cmd.append("-DCMAKE_BUILD_TYPE=Release")