Skip to content

Commit

Permalink
chore: Updated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayr.joachim committed Jan 15, 2025
1 parent f785f57 commit b1a1b84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cd recipes/libtorch/all
conan create . --version=1.8.1
conan create . --version=2.0.1 --build=missing
6 changes: 2 additions & 4 deletions recipes/libtorch/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,10 @@ def _build_subfolder(self):
return "build_subfolder"

def export_sources(self):
#self.copy("CMakeLists.txt")
copy(self, "CMakeLists.txt", self.recipe_folder, self.export_sources_folder)


for patch in self.conan_data.get("patches", {}).get(self.version, []):
#self.copy(patch["patch_file"])
copy(self, patch["patch_file"], self.recipe_folder, self.export_sources_folder)

def config_options(self):
Expand Down Expand Up @@ -188,8 +186,8 @@ def requirements(self):
self.requires("eigen/3.4.0")
self.requires("fmt/8.0.1")
self.requires("foxi/cci.20210217")
self.requires("onnx/1.8.1")
self.requires("protobuf/3.17.1")
self.requires("onnx/1.17.0")
self.requires("protobuf/3.21.12")
if self._depends_on_sleef:
self.requires("sleef/3.5.1")
if self.options.blas == "openblas":
Expand Down
2 changes: 2 additions & 0 deletions recipes/libtorch/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"1.8.1":
folder: all
"2.0.1":
folder: all

0 comments on commit b1a1b84

Please sign in to comment.