mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
Sync PatcherSupportPkg
This commit is contained in:
@@ -264,13 +264,6 @@ class SysPatchHelpers:
|
||||
logging.info(f"- Merging GPUCompiler.framework libraries to match binary")
|
||||
|
||||
src_dir = f"{LIBRARY_DIR}/{file.name}"
|
||||
for file in ["module.modulemap", "opencl-c.h"]:
|
||||
# Copy on Write to reduce disk usage
|
||||
dst_path = f"{DEST_DIR}/include/{file}"
|
||||
if Path(dst_path).exists():
|
||||
continue
|
||||
utilities.process_status(utilities.elevated(["cp", "-c", f"{src_dir}/include/{file}", f"{DEST_DIR}/include/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
||||
|
||||
if not Path(f"{DEST_DIR}/lib").exists():
|
||||
utilities.process_status(utilities.elevated(["cp", "-cR", f"{src_dir}/lib", f"{DEST_DIR}/"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user