/conan-collier

Conan package recipe for COLLIER (A Complex One-Loop Library with Extended Regularizations)

Primary LanguagePythonMIT LicenseMIT

Build Status Travis

Conan package recipe for COLLIER

Ansgar Denner, Stefan Dittmaier, Lars Hofer, Collier: a fortran-based Complex One-Loop LIbrary in Extended Regularizations, Comput.Phys.Commun. 212 (2017) 220-238 arXiv:1604.06792

For users

Installation of dependencies

COLLIER can be installed with conan by running:

conan install COLLIER/1.2.4@conan/stable

Alternatively a conanfile.txt file can be created in your project directory with the following content:

[requires]
COLLIER/1.2.4@conan/stable

[generators]
cmake
make
pkg_config

The dependencies of your project are then installed by running:

mkdir build
cd build
conan install ..

Building your project

Afterwards the project can be configured via CMake and build with make by running:

cmake ..
make

Alternatively the project can be configured with Meson and build with ninja by running:

export PKG_CONFIG_PATH=.
meson ..
ninja

Alternatively the project can be build with make by running:

make -f ../Makefile

A complete example can be found in the examples/ directory.

Build and package

The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.

$ conan create . conan/stable

Available Options

Option Default Possible Values
shared False [True, False]
fPIC True [True, False]

Conan Recipe License

NOTE: The conan recipe license applies only to the files of this recipe, which can be used to build and package COLLIER. It does not in any way apply or is related to the actual software being packaged.

MIT