From fdee38ced8ea13832d82ac4efae7f243eb63df63 Mon Sep 17 00:00:00 2001 From: Cristian Lalescu <Cristian.Lalescu@ds.mpg.de> Date: Fri, 14 Jun 2019 16:58:34 +0200 Subject: [PATCH] use "compilation" instead of "optimization" relevant since it also refers to USE_TIMINGOUTPUT etc. --- CMakeLists.txt | 2 +- README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43fe53d0..c837187f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,7 @@ list(APPEND TURTLE_LIBS "${OpenMP_CXX_LIB_NAMES}") ##################################################################################### ## Extra flags -set(CMAKE_CXX_COMPILE_FLAGS "${CMAKE_CXX_COMPILE_FLAGS} $ENV{TURTLE_OPTIMIZATION_FLAGS} -Wall -g") +set(CMAKE_CXX_COMPILE_FLAGS "${CMAKE_CXX_COMPILE_FLAGS} $ENV{TURTLE_COMPILATION_FLAGS} -Wall -g") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_COMPILE_FLAGS}") ##################################################################################### diff --git a/README.rst b/README.rst index 5d410eec..f83de7d4 100644 --- a/README.rst +++ b/README.rst @@ -126,7 +126,7 @@ Detailed full installation instructions: * `HDF5_ROOT` - Base directory of HDF5 * `CMAKE_PREFIX_PATH` - Directory containing local cmake configuration files - We also recommend that an environment variable `TURTLE_OPTIMIZATION_FLAGS` + We also recommend that an environment variable `TURTLE_COMPILATION_FLAGS` is defined appropriately. In particular, for clusters of unknown architecture it helps to log into individual nodes and run the following command: -- GitLab