Skip to content

Commit

Permalink
CONTRIBUTING: add USE_CONAN CMake flag
Browse files Browse the repository at this point in the history
  • Loading branch information
drewrisinger committed Aug 10, 2020
1 parent 5d10199 commit f0242f1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f0242f1

Please sign in to comment.