forked from OSchip/llvm-project
[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:
parent
20fe058749
commit
681b59f282
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue