[flang] Clean out the PGI stuff from CMakeLists.txt.

Original-commit: flang-compiler/f18@806db179ce
Reviewed-on: https://github.com/flang-compiler/f18/pull/73
This commit is contained in:
peter klausler 2018-04-27 15:03:28 -07:00
parent 20fe058749
commit 681b59f282
1 changed files with 1 additions and 15 deletions

View File

@ -1,20 +1,6 @@
cmake_minimum_required(VERSION 3.9.0)
#
# Reminder: The normal way to set the compiler is via the CXX environment variable
#
# CXX=/opt/gcc-7.3.0/bin/g++ cmake .../f18
#
# but for convenience we provide the following cmake variables to
# use an existing gcc installation directory.
#
# Pass '-DPGI=1' to cmake to use the latest gcc installation at PGI.
if( PGI )
set(GCC /home/sw/thirdparty/gcc/gcc-7.3.0/linux86-64/redhat)
endif()
# Pass -DGCC=... to cmake to use a specific gcc installation
# Pass -DGCC=... to cmake to use a specific gcc installation.
if( GCC )
set(CMAKE_CXX_COMPILER "${GCC}/bin/g++")
set(CMAKE_CC_COMPILER "${GCC}/bin/gcc")