Skip to content

Commit

Permalink
(#22856) dice-template-library: add version 1.3.0, support apple-clang
Browse files Browse the repository at this point in the history
  • Loading branch information
toge authored Feb 23, 2024
1 parent 642fa5c commit cea2b0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions recipes/dice-template-library/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"1.3.0":
url: "https://github.com/dice-group/dice-template-library/archive/refs/tags/v1.3.0.tar.gz"
sha256: "2e61e95eeedf31f7041a6694c0789c5d1a5e3f9e4db87546cb83c9189808d4f5"
"1.2.0":
url: "https://github.com/dice-group/dice-template-library/archive/refs/tags/v1.2.0.tar.gz"
sha256: "9b21793e158af3ee81ceec827a1a43a87e309e2f7bf0be8ace0f538a95f4865a"
Expand Down
3 changes: 1 addition & 2 deletions recipes/dice-template-library/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def _compilers_minimum_version(self):
return {
"gcc": "10.2",
"clang": "12",
"apple-clang": "14",
}

def layout(self):
Expand All @@ -42,8 +43,6 @@ def package_id(self):
self.info.clear()

def validate(self):
if self.settings.compiler == "apple-clang":
raise ConanInvalidConfiguration("apple-clang is not supported because a full concept implementation is needed")
if is_msvc(self):
raise ConanInvalidConfiguration("MSVC is not supported because a full concept implementation is needed")

Expand Down
2 changes: 2 additions & 0 deletions recipes/dice-template-library/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"1.3.0":
folder: all
"1.2.0":
folder: all
"1.1.0":
Expand Down

0 comments on commit cea2b0c

Please sign in to comment.