Skip to content

Commit

Permalink
(#18849) libigl: migrate to Conan v2
Browse files Browse the repository at this point in the history
* libigl: migrate to Conan v2

* libigl: add v3.4.0

* Manually override package_type when header_only

* Fix license of components that we're not packaging

* libigl: add VirtualBuildEnv, rmdir lib/cmake

* libigl: backport a patch for C++17 incompatibility

* libigl: add v2.5.0

* libigl: bump Eigen

* libigl: patch not required on 2.4.0

* libigl: add build OOM workaround

* libigl: bump cmake_minimum_required

* libigl: use loose_lt_semver

* libigl: use non-cache variables, use project_include

* libigl: can drop v2.4.0

* libigl: update CMake variables for v2.5.0

* libigl: fix parallel build not being disabled in v1

* libigl: disable Conan v1 debug build

* libigl: fix incorrect exception

* Update conanfile.py

---------

Co-authored-by: Rubén Rincón Blanco <[email protected]>
  • Loading branch information
valgur and AbrilRBS authored May 6, 2024
1 parent 03b6084 commit 36696d7
Show file tree
Hide file tree
Showing 14 changed files with 293 additions and 179 deletions.
9 changes: 0 additions & 9 deletions recipes/libigl/2.x.x/CMakeLists.txt

This file was deleted.

8 changes: 0 additions & 8 deletions recipes/libigl/2.x.x/conandata.yml

This file was deleted.

140 changes: 0 additions & 140 deletions recipes/libigl/2.x.x/conanfile.py

This file was deleted.

17 changes: 0 additions & 17 deletions recipes/libigl/2.x.x/patches/0001-correct-fpic.patch

This file was deleted.

1 change: 1 addition & 0 deletions recipes/libigl/all/conan_deps.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
find_package(Eigen3 REQUIRED)
13 changes: 13 additions & 0 deletions recipes/libigl/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sources:
"2.5.0":
url: "https://github.com/libigl/libigl/archive/refs/tags/v2.5.0.zip"
sha256: "84af6a5f9266a4c1ce530f9ef8028c8a3569318563012d72a753622f61ea2f68"
"2.3.0":
url: "https://github.com/libigl/libigl/archive/refs/tags/v2.3.0.zip"
sha256: "5124443c2657023394039fe56fb240d4f7a867723ee4ebba053eaeb881ed7455"
patches:
"2.3.0":
- patch_file: "patches/001-replace-random_shuffle.patch"
patch_type: "portability"
patch_description: "Replace std::random_shuffle that was removed in C++17"
patch_source: "https://github.com/libigl/libigl/commit/3f3d186db7c2f5ce79194c3439134ca5faf2818a"
Loading

0 comments on commit 36696d7

Please sign in to comment.