python3Packages.warp-lang: refresh dynamic-link.patch for 1.11.0
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
diff --git a/build_llvm.py b/build_llvm.py
|
||||
index 1aa8631a..2304ce1f 100644
|
||||
--- a/build_llvm.py
|
||||
+++ b/build_llvm.py
|
||||
@@ -346,34 +346,24 @@ def build_warp_clang_for_arch(args, lib_name: str, arch: str) -> None:
|
||||
|
||||
clang_dll_path = os.path.join(build_path, f"bin/{lib_name}")
|
||||
|
||||
@@ -378,34 +378,24 @@
|
||||
|
||||
clang_dll_path = os.path.join(build_path, "bin", lib_name)
|
||||
|
||||
- if args.build_llvm:
|
||||
- # obtain Clang and LLVM libraries from the local build
|
||||
- install_path = os.path.join(llvm_install_path, f"{args.mode}-{arch}")
|
||||
@@ -13,7 +11,7 @@ index 1aa8631a..2304ce1f 100644
|
||||
- else:
|
||||
- # obtain Clang and LLVM libraries from packman
|
||||
- fetch_prebuilt_libraries(arch)
|
||||
- libpath = os.path.join(base_path, f"_build/host-deps/llvm-project/release-{arch}/lib")
|
||||
- libpath = os.path.join(base_path, "_build", "host-deps", "llvm-project", f"release-{arch}", "lib")
|
||||
-
|
||||
- libs = []
|
||||
-
|
||||
@@ -23,7 +21,7 @@ index 1aa8631a..2304ce1f 100644
|
||||
+ libs = ["LLVM", "clang-cpp"]
|
||||
+ install_paths = ["@LLVM_LIB@", "@LIBCLANG_LIB@"]
|
||||
+ libpaths = [os.path.join(install_path, "lib") for install_path in install_paths]
|
||||
|
||||
|
||||
if os.name == "nt":
|
||||
libs.append("Version.lib")
|
||||
libs.append("Ws2_32.lib")
|
||||
@@ -44,4 +42,3 @@ index 1aa8631a..2304ce1f 100644
|
||||
libs.append("-lpthread")
|
||||
libs.append("-ldl")
|
||||
if sys.platform != "darwin":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user