Skip to content

Commit

Permalink
libunifex: add v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 23, 2023
1 parent 0df249c commit 8e6a86a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions recipes/libunifex/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"0.3.0":
url: "https://github.com/facebookexperimental/libunifex/archive/refs/tags/v0.3.0.tar.gz"
sha256: "da6b65227adcf1ce3e3410865cc2974b1aacaa20d0f03905bd3bd4fb4e6e4d44"
"cci.20220430":
url: "https://github.com/facebookexperimental/libunifex/archive/c359fd8e7d97d91359cf4a6c1dbef99b0b1767b6.tar.gz"
sha256: "c306891967fa4cc1a22f3401581d35ceea41eb1dbdac3e6157ecf3defaa4b15d"
8 changes: 3 additions & 5 deletions recipes/libunifex/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
pass
# TODO: port liburing to Conan v2
# if self.settings.os in ["Linux", "FreeBSD"]:
# self.requires("liburing/2.2", transitive_headers=True)
if self.settings.os in ["Linux", "FreeBSD"]:
self.requires("liburing/2.2", transitive_headers=True)

def validate(self):
if self.settings.compiler.get_safe("cppstd"):
Expand Down Expand Up @@ -108,4 +106,4 @@ def package_info(self):

if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.components["unifex"].system_libs = ["pthread"]
# self.cpp_info.components["unifex"].requires.append("liburing::liburing")
self.cpp_info.components["unifex"].requires.append("liburing::liburing")
4 changes: 3 additions & 1 deletion recipes/libunifex/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"0.3.0":
folder: all
"cci.20220430":
folder: "all"
folder: all

0 comments on commit 8e6a86a

Please sign in to comment.