Skip to content

Commit

Permalink
(#22857) glaze: add version 2.1.6, 2.1.7
Browse files Browse the repository at this point in the history
* glaze: add version 2.1.6

* update 2.1.7

* revert 2.1.6, drop support clang < 14 on 2.1.7

* Update recipes/glaze/all/conandata.yml

---------

Co-authored-by: Rubén Rincón Blanco <[email protected]>
  • Loading branch information
toge and AbrilRBS authored Feb 24, 2024
1 parent 9fce4eb commit 1e82faa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions recipes/glaze/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
sources:
"2.1.7":
url: "https://github.com/stephenberry/glaze/archive/v2.1.7.tar.gz"
sha256: "e110bfc6494ca3a0616beaec214e61a53d4e0bd1489d8f1a45ca6f87594a3502"
# Keep 2.1.6 for now as 2.1.7 had some breaking changes
"2.1.6":
url: "https://github.com/stephenberry/glaze/archive/v2.1.6.tar.gz"
sha256: "5ae31b1a48a5b54b84e115a12195341bfbe39f03f92bb3bcad074f984380f72d"
"2.1.4":
url: "https://github.com/stephenberry/glaze/archive/v2.1.4.tar.gz"
sha256: "cbaba4dfbaaf342c8be8e6834cb79933b080ac89f3aa1470bc7a83197d9ebc1a"
Expand Down
3 changes: 2 additions & 1 deletion recipes/glaze/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def _compilers_minimum_version(self):
"Visual Studio": "17",
"msvc": "193",
"gcc": "10",
"clang": "12",
# glaze >= 2.1.6 uses std::bit_cast which is supported by clang >= 14
"clang": "12" if Version(self.version) < "2.1.6" else "14",
"apple-clang": "13.1",
}
if Version(self.version) >= "1.9.0":
Expand Down
4 changes: 4 additions & 0 deletions recipes/glaze/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
versions:
"2.1.7":
folder: all
"2.1.6":
folder: all
"2.1.4":
folder: all
"2.1.0":
Expand Down

0 comments on commit 1e82faa

Please sign in to comment.