Skip to content
Merged
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
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,12 @@ ARM | ARMv7, ARMv8

## Installation

Although `xsimd` is a header-only library, we provide standardized means to install it, with package managers or with cmake.
### Install from conda-forge

Besides the xsimd headers, all these methods place the `CMake` project configuration file in the right location so that
third-party projects can use cmake's `find_package` to locate xsimd headers.

### Install with conda

A package for xsimd is available on the conda package manager.
A package for xsimd is available on the mamba (or conda) package manager.

```bash
conda install -c conda-forge xsimd
```

### Install with Conan

If you are using Conan to manage your dependencies, merely add `xsimd/x.y.z@omaralvarez/public-conan` to your requires, where x.y.z
is the release version you want to use. Please file issues in [conan-xsimd](https://github.com/omaralvarez/conan-xsimd) if you
experience problems with the packages. Sample `conanfile.txt`:

```
[requires]
xsimd/7.2.3@omaralvarez/public-conan

[generators]
cmake
mamba install -c conda-forge xsimd
```

### Install with Spack
Expand Down
23 changes: 4 additions & 19 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,14 @@ Besides the xsimd headers, all these methods place the ``cmake`` project configu

.. image:: conda.svg

Using the conda package
-----------------------

A package for xsimd is available on the conda package manager.

.. code::
Using the conda-forge package
-----------------------------

conda install -c conda-forge xsimd

Using the Conan package
-----------------------

If you are using Conan to manage your dependencies, merely add `xsimd/x.y.z@omaralvarez/public-conan` to your requires, where x.y.z
is the release version you want to use. Please file issues in [conan-xsimd](https://github.com/omaralvarez/conan-xsimd) if you
experience problems with the packages. Sample `conanfile.txt`:
A package for xsimd is available for the mamba (or conda) package manager.

.. code::

[requires]
xsimd/7.2.3@omaralvarez/public-conan

[generators]
cmake
mamba install -c conda-forge xsimd

.. image:: spack.svg

Expand Down