From a447a11870170c5c4870740c8dccca1a76443e2d Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Tue, 13 Apr 2021 20:29:13 +0200 Subject: [PATCH] Update installation instructions --- README.md | 25 +++---------------------- docs/source/installation.rst | 23 ++++------------------- 2 files changed, 7 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index e81ec8bdd..aa769dfe1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 8b10b4e9d..435d3fafe 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -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