From 681b59f282bb5ed8fbdf72e4553bdf48956dbabc Mon Sep 17 00:00:00 2001 From: peter klausler Date: Fri, 27 Apr 2018 15:03:28 -0700 Subject: [PATCH] [flang] Clean out the PGI stuff from CMakeLists.txt. Original-commit: flang-compiler/f18@806db179ce8f9437f301772712baf69b8f0e4135 Reviewed-on: https://github.com/flang-compiler/f18/pull/73 --- flang/CMakeLists.txt | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt index e787a3e..562aa43 100644 --- a/flang/CMakeLists.txt +++ b/flang/CMakeLists.txt @@ -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") -- 2.7.4