Commit cc2f0955 authored by Carl Poelking's avatar Carl Poelking
Browse files

CMake intel compiler no longer hardcoded.

parent a856848a
......@@ -10,7 +10,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# BUILD OPTIONS
enable_language(CXX)
set(CMAKE_CXX_COMPILER "/usr/local/shared/intel/compilers_and_libraries_2016.2.181/linux/bin/intel64/icc")
#set(CMAKE_CXX_COMPILER "/usr/local/shared/intel/compilers_and_libraries_2016.2.181/linux/bin/intel64/icc")
message("C++ compiler: " ${CMAKE_CXX_COMPILER} " " ${CMAKE_CXX_COMPILER_ID})
option(BUILD_SHARED_LIBS "Build shared libs" ON)
if(${CMAKE_VERSION} VERSION_GREATER 3.1)
......
#! /bin/bash
mkdir -p build
cd build
cmake .. -DCMAKE_CXX_COMPILER_ID=Intel && make && make install
cmake .. && make && make install
#cmake .. -DCMAKE_CXX_COMPILER_ID=Intel && make && make install
cd ..
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment