Skip to content

Commit

Permalink
highway: add version 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed Jan 19, 2023
1 parent dafd46b commit c051ba0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions recipes/highway/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"1.0.3":
url: "https://github.com/google/highway/archive/1.0.3.tar.gz"
sha256: "566fc77315878473d9a6bd815f7de78c73734acdcb745c3dde8579560ac5440e"
"1.0.2":
url: "https://github.com/google/highway/archive/1.0.2.tar.gz"
sha256: "e8ef71236ac0d97f12d553ec1ffc5b6375d57b5f0b860c7447dd69b6ed1072db"
Expand All @@ -23,5 +26,9 @@ sources:
patches:
"0.16.0":
- patch_file: "patches/0.16.0-0001-fix-sys-random-h.patch"
patch_description: "fix including sys/random.h on several environments"
patch_type: "portability"
"0.11.1":
- patch_file: "patches/0.11.1-0001-remove-contrib.patch"
patch_description: "remove contrib sources"
patch_type: "portability"
7 changes: 2 additions & 5 deletions recipes/highway/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from conan.tools.scm import Version
import os

required_conan_version = ">=1.52.0"
required_conan_version = ">=1.53.0"


class HighwayConan(ConanFile):
Expand Down Expand Up @@ -51,10 +51,7 @@ def configure(self):
if Version(self.version) < "0.16.0":
del self.options.shared
elif self.options.shared:
try:
del self.options.fPIC
except Exception:
pass
self.options.rm_safe("fPIC")

def layout(self):
cmake_layout(self, src_folder="src")
Expand Down
2 changes: 2 additions & 0 deletions recipes/highway/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"1.0.3":
folder: all
"1.0.2":
folder: all
"1.0.1":
Expand Down

0 comments on commit c051ba0

Please sign in to comment.