Add libtorch 2.7.1 dependency

This commit is contained in:
2025-07-16 16:03:47 +02:00
parent a43901095c
commit 61c44b43a6
4 changed files with 10 additions and 12 deletions

3
.gitignore vendored
View File

@@ -61,4 +61,5 @@ conandeps*.cmake
*Config*.cmake
*Targets.cmake
Find*.cmake
module-*.cmake
module-*.cmake
# CMakeUserPresets.json

View File

@@ -1,10 +0,0 @@
{
"version": 4,
"vendor": {
"conan": {}
},
"include": [
"build_Debug/build/Debug/generators/CMakePresets.json",
"build/Release/generators/CMakePresets.json"
]
}

View File

@@ -33,6 +33,12 @@ build: ## Build a debug version of the project
cmake --build $(f_debug) -t $(test_targets) $(n_procs)
@echo ">>> Done";
conan-create: ## Create the conan package
@echo ">>> Creating the conan package..."
conan create . --build=missing -tf "" -s:a build_type=Release
conan create . --build=missing -tf "" -s:a build_type=Debug
@echo ">>> Done"
opt = ""
test: ## Run tests (opt="-s") to verbose output the tests
@echo ">>> Running Folding tests...";

View File

@@ -19,13 +19,14 @@ class FoldingConan(ConanFile):
generators = "CMakeDeps", "CMakeToolchain"
def requirements(self):
self.requires("libtorch/2.7.0")
self.requires("libtorch/2.7.1")
def build_requirements(self):
self.tool_requires("cmake/[>=3.15]")
# Test dependencies
self.test_requires("catch2/3.8.1")
self.test_requires("arff-files/1.2.0")
self.test_requires("fimdlp/2.1.0")
def layout(self):
cmake_layout(self)