1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 21 May 2023 14:20:35 -0700
Description: tools/setup_helpers/extension.py: Pass
-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to CMake.
https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036522
Forwarded: not-needed
---
tools/setup_helpers/extension.py | 1 +
1 file changed, 1 insertion(+)
--- a/tools/setup_helpers/extension.py
+++ b/tools/setup_helpers/extension.py
@@ -127,6 +127,7 @@
f"-DCMAKE_PREFIX_PATH={torch.utils.cmake_prefix_path}",
f"-DCMAKE_INSTALL_PREFIX={extdir}",
"-DCMAKE_VERBOSE_MAKEFILE=ON",
+ "-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON",
f"-DPython_INCLUDE_DIR={distutils.sysconfig.get_python_inc()}",
f"-DBUILD_CPP_TEST={'ON' if _BUILD_CPP_TEST else 'OFF'}",
f"-DBUILD_SOX:BOOL={'ON' if _BUILD_SOX else 'OFF'}",
|