Skip to content

Commit

Permalink
Linux: remove oidn hack
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Jan 14, 2025
1 parent c673222 commit fb15a4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 106 deletions.
11 changes: 0 additions & 11 deletions deps/conan/oidn/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,6 @@ def generate(self):
deps.generate()

def build(self):
if self.settings.os == "Linux":
# Add a reserved tag in dynamically loaded library name
# We'll fill it later, with the hash generated by repairing
replace_in_file(
self,
Path(self.source_folder) / "oidn" / "core" / "module.cpp",
'".so"',
'"-reserved.so"',
)

cmake = CMake(self)
cmake.configure(cli_args=[], build_script_folder=Path(self.folders.source) / "oidn")
cmake.build(cli_args=["--verbose", "--clean-first"])
Expand All @@ -129,7 +119,6 @@ def package_info(self):
if self.settings.os == "Linux":
self.cpp_info.libs = [
"OpenImageDenoise",
f"libOpenImageDenoise_device_cpu.so.{_oidn_version}",
f"libOpenImageDenoise_core.so.{_oidn_version}",
]
elif self.settings.os == "Windows":
Expand Down
95 changes: 0 additions & 95 deletions scripts/recompose_wheel_linux.py

This file was deleted.

0 comments on commit fb15a4c

Please sign in to comment.