- Timestamp:
- 01/14/09 12:32:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1443 r1464 11 11 moduledir = moduledir.replace("lib", "lib64") 12 12 13 opts = Options("options.cfg") 14 opts.AddOptions( 13 14 EnsureSConsVersion(1,1,0) 15 16 opts = Variables("options.cfg") 17 opts.AddVariables( 15 18 ("FORTRAN", "The fortran compiler", None), 16 19 ("f2clib", "The fortran to c library", None), 17 Path Option("prefix",20 PathVariable("prefix", 18 21 "The root installation path", 19 22 distutils.sysconfig.PREFIX), 20 Path Option("moduledir",23 PathVariable("moduledir", 21 24 "The python module path (site-packages))", 22 25 moduledir), 23 Path Option("casacoreroot", "The location of casacore",26 PathVariable("casacoreroot", "The location of casacore", 24 27 "/usr/local"), 25 28 ("boostroot", "The root dir where boost is installed", None), … … 53 56 ("rpfitslibdir", "The rpfits library location", None), 54 57 # ("rpfitsincdir", "The rpfits include location", None), 55 Enum Option("mode", "The type of build.", "release",58 EnumVariable("mode", "The type of build.", "release", 56 59 ["release","debug"], ignorecase=1), 57 60 ("makedist", 58 61 "Make a binary archive giving a suffix, e.g. sarge or fc5", 59 62 ""), 60 Enum Option("makedoc", "Build the userguide in specified format",63 EnumVariable("makedoc", "Build the userguide in specified format", 61 64 "none", 62 65 ["none", "pdf", "html"], ignorecase=1), 63 Bool Option("apps", "Build cpp apps", False),64 Bool Option("alma", "Enable alma specific functionality", False)66 BoolVariable("apps", "Build cpp apps", False), 67 BoolVariable("alma", "Enable alma specific functionality", False) 65 68 ) 66 69 … … 74 77 Help(opts.GenerateHelpText(env)) 75 78 env.SConsignFile() 76 77 if env["PLATFORM"] == "darwin":78 env.EnsureSConsVersion(0,96,95)79 79 80 80 casacoretooldir = os.path.join(env["casacoreroot"],"share",
Note:
See TracChangeset
for help on using the changeset viewer.