forked from iLCSoft/iLCInstall
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gcc481.py
37 lines (27 loc) · 1.02 KB
/
gcc481.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
##################################################
#
# GCC481 module
#
# Author: Shaojun Lu, DESY
# Date: May, 2015
#
##################################################
# custom imports
from .baseilc import BaseILC
from .util import *
class GCC481(BaseILC):
""" Responsible for the GCC481 configuration process. """
def __init__(self, userInput):
BaseILC.__init__(self, userInput, "GCC481", "GCC481")
self.installSupport = False
self.reqfiles = [
["lib64/libcloog-isl.so"],
["bin/gcc48"],
["bin/g++48"],
["bin/gfortran48"]
]
def postCheckDeps(self):
BaseILC.postCheckDeps(self)
self.env["LCG_gcc_home"] = self.installPath
self.envpath["PATH"].append( "$LCG_gcc_home/bin" )
self.envpath["LD_LIBRARY_PATH"].append( "$LCG_gcc_home/lib64" )