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

Drop settings, update version #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[ ![Download](https://api.bintray.com/packages/omaralvarez/public-conan/xsimd%3Aomaralvarez/images/download.svg?version=7.4.1%3Apublic-conan) ](https://bintray.com/omaralvarez/public-conan/xsimd%3Aomaralvarez/7.4.1%3Apublic-conan/link)
[ ![Download](https://api.bintray.com/packages/omaralvarez/public-conan/xsimd%3Aomaralvarez/images/download.svg?version=7.4.7%3Apublic-conan) ](https://bintray.com/omaralvarez/public-conan/xsimd%3Aomaralvarez/7.4.7%3Apublic-conan/link)

# conan-xsimd

## Reuse the packages

### Basic setup

$ conan install xsimd/7.4.1@omaralvarez/public-conan
$ conan install xsimd/7.4.7@omaralvarez/public-conan

### Package basic test
$ conan create . username/bintray-repo
Expand All @@ -18,7 +18,7 @@
* A sample from `conanfile.txt` in the root directory:
```
[requires]
xsimd/7.4.1@omaralvarez/public-conan
xsimd/7.4.7@omaralvarez/public-conan
...

[generators]
Expand Down
8 changes: 3 additions & 5 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@

class XsimdConan(ConanFile):
name = "xsimd"
version = "7.4.0"
version = "7.4.7"
license = "BSD 3-Clause"
#author = "<Put your name here> <And your email here>"
url = "https://github.com/omaralvarez/conan-xsimd"
repo_url = "https://github.com/QuantStack/xsimd"
description = "Modern, portable C++ wrappers for SIMD intrinsics and parallelized, optimized math implementations (SSE, AVX, NEON, AVX512)"
topics = ("simd-intrinsics", "vectorization", "simd")
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
exports_sources = "*.hpp"
no_copy_source = True

def source(self):
self.run("git clone -b '%s' --single-branch --depth 1 %s" % (self.version, self.repo_url))

def _configure_cmake(self):
cmake = CMake(self)
cmake.configure(source_folder="xsimd")
Expand All @@ -30,6 +28,6 @@ def build(self):
def package(self):
cmake = self._configure_cmake()
cmake.install()

def package_id(self):
self.info.header_only()