# 
#     Copyright (c) 2017-2020, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
# 

# PGNVD linux86-64 configuration
#

load .pgnvdbinrc;
set TARGET=linux86-64;
variable HOME is environment(HOME);
# COMPBASE is the root of the installation tree, a la /opt/hpc
variable COMPBASE is default($dirname($dirname($dirname($dirname($dirname($DRIVERDIR))))));
# COMPSYS is the target, a la linux86-64
variable COMPSYS is default($filename($dirname($dirname($dirname($dirname($DRIVERDIR))))));
# COMPVER is the version, a la 20.1
variable COMPVER is default($filename($dirname($dirname($dirname($DRIVERDIR)))));

variable LOCALRCFILENAME is default(localrc);
variable HOMELOCALRC is default($HOME/.config/NVIDIA/nvhpc/$COMPVER/$LOCALRCFILENAME.$DRIVERHOST);

variable GCCVERSION is default(0);

# this is the driverdir of the compiler
variable CDRIVERDIR is default($dirname($DRIVERDIR));
# this is the parent of the cuda directory
variable COMPROOT is default($dirname($dirname($dirname($CDRIVERDIR))));

include nvd64rc;
include nvdrc;
include nvdlinrc;
cinclude persnvirc;
cinclude persngirc;
variable MYLOCALRC is environment(NVLOCALRC);
endload;

cinclude $CDRIVERDIR/nvdlocalrc;
cinclude $HOMELOCALRC;
cinclude $CDRIVERDIR/localrc;
cinclude localrc;
cinclude $CDRIVERDIR/localrc.$$;
cinclude localrc.$$;
cinclude .mynvrc;
cinclude $MYLOCALRC;
cinclude cudarc;
