File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,14 @@ There are two CMake options that can be given to enable or disable OpenMP and CU
6161| :--| :--| :--|
6262| PYAPR_USE_OPENMP | Enable multithreading via OpenMP | ON |
6363| PYAPR_USE_CUDA | Build available CUDA functionality | OFF |
64+ | PYAPR_PREFER_EXTERNAL_LIBAPR | Use an installed version of LibAPR (if found) rather than building it from submodules | OFF |
6465
65- When building via the setup.py script, these options can be set via the environment variable ` CMAKE_COMMON_VARIABLES ` . For example,
66+ When building via the setup.py script, these options can be set via the environment variable ` EXTRA_CMAKE_ARGS ` . For example,
6667```
67- CMAKE_COMMON_VARIABLES ="-DPYAPR_USE_OPENMP=OFF -DPYAPR_USE_CUDA=OFF" python setup.py install
68+ EXTRA_CMAKE_ARGS ="-DPYAPR_USE_OPENMP=OFF -DPYAPR_USE_CUDA=OFF" python setup.py install
6869```
69- should install the package with both OpenMP and CUDA disabled.
70+ will install the package with both OpenMP and CUDA disabled. If building from an installed version of LibAPR in a non-standard
71+ location, help CMake find it, e.g., by passing ` -DCMAKE_PREFIX_PATH=/path/to/APR ` .
7072
7173### OpenMP support on OSX
7274
You can’t perform that action at this time.
0 commit comments