Skip to content

Commit 1138f5b

Browse files
committed
Updated info how to use Intel compiler
1 parent 97f28c5 commit 1138f5b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

CMakeLists.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ cmake_minimum_required(VERSION 3.2)
55
project(LibAPR)
66
set(CMAKE_CXX_STANDARD 14)
77

8-
get_cmake_property(_variableNames VARIABLES)
9-
foreach (_variableName ${_variableNames})
10-
message(STATUS "${_variableName}=${${_variableName}}")
11-
endforeach()
12-
138
###############################################################################
149
# Generate configuration file
1510
###############################################################################
@@ -48,10 +43,9 @@ include_directories("external/c-blosc/blosc")
4843
###############################################################################
4944
# Configure compiler options
5045
###############################################################################
51-
# If you ever want to compile with icc it should look more or less like this:
52-
#set(CMAKE_CXX_COMPILER /opt/intel/compilers_and_libraries_2016/linux/bin/intel64/icc)
53-
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -qopenmp -ip -ansi-alias -xCORE-AVX2 ")
54-
#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -qopenmp")
46+
# If you ever want to compile with Intel's icc (or any other compiler) provide
47+
# compiler names/paths in cmake command like this:
48+
# CC="icc" CXX="icc" CXXFLAGS="-O3" cmake -DAPR_TESTS=1
5549
SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
5650
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wall -pedantic ")
5751
if(CMAKE_COMPILER_IS_GNUCC)

0 commit comments

Comments
 (0)