From f0242f1d77051cd26ad0d36ad64d79081bbf1642 Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Mon, 10 Aug 2020 18:14:24 -0400 Subject: [PATCH] CONTRIBUTING: add USE_CONAN CMake flag --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2fe6680dd3..7a3944770d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -263,6 +263,8 @@ most of the dependencies needed by the C++ source code. Internet connection may when dependencies are added/updated, in order to download the required packages if they are not in your **Conan** local repository. +NOTE: Conan use can be disabled with the CMake flag ``"-DUSE_CONAN=OFF"``. This is useful for building from source offline, or to reuse the installed package dependencies. + If we are only building the standalone version and do not want to install all Python requirements you can just install **Conan**: @@ -705,6 +707,16 @@ These are the flags: Default: Auto Example: ``python ./setup.py bdist_wheel -- -DAER_THRUST_BACKEND=CUDA -DAER_CUDA_ARCH="5.2; 5.3"`` +* USE_CONAN + + This flag allows disabling the Conan package manager. This will force CMake to look for + the libraries in use on your system path. This disables version checking, so you will need + to verify the versions of the required libraries manually, or via testing. + + Values: ON | OFF + Default: ON + Example: ``python ./setup.py bdist_wheel -- -DUSE_CONAN=OFF`` + ## Tests Code contribution are expected to include tests that provide coverage for the