Skip to content

Commit

Permalink
(conan-io#23753) simdutf: add version 5.2.6, remove older versions
Browse files Browse the repository at this point in the history
* simdutf: add version 5.2.6, remove older versions

* drop dead code

---------

Co-authored-by: ericLemanissier <ericLemanissier@users.noreply.github.com>
  • Loading branch information
toge and ericLemanissier authored May 1, 2024
1 parent 5a760eb commit dab0e65
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 120 deletions.
52 changes: 3 additions & 49 deletions recipes/simdutf/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"5.2.6":
url: "https://github.com/simdutf/simdutf/archive/v5.2.6.tar.gz"
sha256: "ab9e56facf7cf05f4e9d062a0adef310fc6a0f82a8132e8ec1e1bb7ab5e234df"
"5.2.3":
url: "https://github.com/simdutf/simdutf/archive/v5.2.3.tar.gz"
sha256: "dfa55d85c3ee51e9b52e55c02701b16f83dcf1921e1075b67f99b1036df5adb8"
Expand All @@ -23,57 +26,8 @@ sources:
"3.2.17":
url: "https://github.com/simdutf/simdutf/archive/v3.2.17.tar.gz"
sha256: "c24e3eec1e08522a09b33e603352e574f26d367a7701bf069a65881f64acd519"
"3.2.15":
url: "https://github.com/simdutf/simdutf/archive/v3.2.15.tar.gz"
sha256: "c26d2e2e9124e1c20335d3880d74c8b0d74a5e247ba82ef82d15df4ccc413bcd"
"3.2.14":
url: "https://github.com/simdutf/simdutf/archive/v3.2.14.tar.gz"
sha256: "6bd6cd41e0e588312c3ae24adb297454bd9bd9622ed7443f41300d7201f233a1"
"3.2.2":
url: "https://github.com/simdutf/simdutf/archive/v3.2.2.tar.gz"
sha256: "5a5c84c05bf30d681126d1dcbde903615f2c927e201e0c6d489f74a91b7f506f"
"3.2.0":
url: "https://github.com/simdutf/simdutf/archive/v3.2.0.tar.gz"
sha256: "0d9f63e2f308b6b54f399ebbe3a02776b902a2670c88c28de2d75ea2197dc4e9"
"3.1.0":
url: "https://github.com/simdutf/simdutf/archive/v3.1.0.tar.gz"
sha256: "9757a04085ad3ebab9fe933d9198ec6b84a857632a540418b6cfeb7b889a8017"
"3.0.0":
url: "https://github.com/simdutf/simdutf/archive/v3.0.0.tar.gz"
sha256: "cc23b47fd0caf9018fc0dcf49ebeff2676654fff997f9f6ce50fa93cd36f661f"
"2.2.0":
url: "https://github.com/simdutf/simdutf/archive/v2.2.0.tar.gz"
sha256: "b0b8527e194700363cc47e75a7b8d58c88798b0dc31671f5ae5c8803d8678fe6"
patches:
"3.2.17":
- patch_file: "patches/3.2.17-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.2.15":
- patch_file: "patches/3.2.14-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.2.14":
- patch_file: "patches/3.2.14-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.2.2":
- patch_file: "patches/2.0.3-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.2.0":
- patch_file: "patches/2.0.3-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.1.0":
- patch_file: "patches/2.0.3-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"3.0.0":
- patch_file: "patches/2.0.3-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
"2.2.0":
- patch_file: "patches/2.0.3-0001-fix-cmake.patch"
patch_description: "remove static build, enable rpath on macOS"
patch_type: "conan"
5 changes: 1 addition & 4 deletions recipes/simdutf/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ def source(self):
def generate(self):
tc = CMakeToolchain(self)
tc.variables["SIMDUTF_BENCHMARKS"] = False
if Version(self.version) >= "3.2.3":
tc.variables["SIMDUTF_TESTS"] = False
else:
tc.variables["BUILD_TESTING"] = False
tc.variables["SIMDUTF_TESTS"] = False
if self.settings.compiler == "gcc" and Version(self.settings.compiler.version) == "8":
tc.variables["CMAKE_CXX_FLAGS"] = " -mavx512f"
tc.variables["SIMDUTF_TOOLS"] = False
Expand Down
23 changes: 0 additions & 23 deletions recipes/simdutf/all/patches/2.0.3-0001-fix-cmake.patch

This file was deleted.

30 changes: 0 additions & 30 deletions recipes/simdutf/all/patches/3.2.14-0001-fix-cmake.patch

This file was deleted.

16 changes: 2 additions & 14 deletions recipes/simdutf/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"5.2.6":
folder: all
"5.2.3":
folder: all
"5.2.2":
Expand All @@ -15,17 +17,3 @@ versions:
folder: all
"3.2.17":
folder: all
"3.2.15":
folder: all
"3.2.14":
folder: all
"3.2.2":
folder: all
"3.2.0":
folder: all
"3.1.0":
folder: all
"3.0.0":
folder: all
"2.2.0":
folder: all

0 comments on commit dab0e65

Please sign in to comment.