From 3b1bc89cae400e4f816d5fb523295dadf8a2e4c9 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:50:46 -0800 Subject: [PATCH] Update Docs/source/install/dependencies.rst Co-authored-by: Axel Huebl --- Docs/source/install/dependencies.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Docs/source/install/dependencies.rst b/Docs/source/install/dependencies.rst index cd8d0095382..7bd5792072b 100644 --- a/Docs/source/install/dependencies.rst +++ b/Docs/source/install/dependencies.rst @@ -122,7 +122,8 @@ For Nvidia CUDA GPU support, you will need to have `a recent CUDA driver install More info for `CUDA-enabled ML packages `__. .. warning:: - When you install CMake in a conda environment, conda sets several environment variables, e.g., ``CXXFLAGS``, to default values that are specific to the conda environment. Such values are concatenated to the values set by WarpX during buildsystem generation. In order to avoid unintended side effects (e.g., compiling with ``-O2`` instead of ``-O3``), please consider clearing ``CXXFLAGS`` and/or other relevant variables (e.g., via ``export CXXFLAGS=""``) before generating the buildsystem and compiling. + + When you install CMake in a conda environment, conda sets several environment variables, e.g., ``CXXFLAGS``, to default values that are specific to the conda environment. Such values are concatenated to the values set by WarpX during buildsystem generation. In order to avoid unintended side effects (e.g., compiling with ``-O2`` instead of ``-O3``), please consider clearing ``CXXFLAGS`` and/or other relevant variables (e.g., via ``unset CXXFLAGS``) before generating the buildsystem and compiling. Spack (Linux/macOS) -------------------