Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mold: add new version 2.33.0 #24865

Merged
merged 3 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/mold/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"2.33.0":
url: "https://github.com/rui314/mold/archive/refs/tags/v2.33.0.tar.gz"
sha256: "37b3aacbd9b6accf581b92ba1a98ca418672ae330b78fe56ae542c2dcb10a155"
"2.32.1":
url: "https://github.com/rui314/mold/archive/refs/tags/v2.32.1.tar.gz"
sha256: "f3c9a527d884c635834fe7d79b3de959b00783bf9446280ea274d996f0335825"
Expand Down
4 changes: 3 additions & 1 deletion recipes/mold/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def requirements(self):
self.requires("mimalloc/2.1.2")
if Version(self.version) < "2.2.0":
# Newer versions use vendored-in BLAKE3
self.requires("openssl/[>=1.1 <4]")
self.requires("openssl/[>=1.1 <4]")

def package_id(self):
del self.info.settings.compiler
Expand All @@ -65,6 +65,8 @@ def validate(self):
raise ConanInvalidConfiguration("Clang version 12 or higher required")
if self.settings.compiler == "apple-clang" and "armv8" == self.settings.arch :
raise ConanInvalidConfiguration(f'{self.name} is still not supported by Mac M1.')
if Version(self.version) >= "2.33.0" and self.settings.compiler == "apple-clang" and Version(self.settings.compiler.version) < "14":
AbrilRBS marked this conversation as resolved.
Show resolved Hide resolved
raise ConanInvalidConfiguration(f'{self.ref} doesn\'t support Apple-Clang < 14.')
AbrilRBS marked this conversation as resolved.
Show resolved Hide resolved

def build_requirements(self):
self.tool_requires("cmake/[>=3.18.0 <4]")
Expand Down
2 changes: 2 additions & 0 deletions recipes/mold/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"2.33.0":
folder: all
"2.32.1":
folder: all
"2.32.0":
Expand Down
Loading