source: branches/reconfiguration/platforms/tsar_generic_iob/soclib.conf @ 917

Last change on this file since 917 was 906, checked in by cfuguet, 10 years ago

reconf: improve platform configuration scripts for OpenMP

File size: 632 bytes
Line 
1# append compilation flags
2cflags = config.default.toolchain.cflags
3if config.default == config.envsystemcassomp:
4        cflags.extend(['-DUSE_OPENMP=1'])
5else:
6        cflags.extend(['-DUSE_OPENMP=0'])
7#cflags.extend(['-ggdb'])
8config.default.toolchain.set("cflags", cflags)
9
10# append modules' description file paths
11from os import environ
12from os.path import join
13tsarpath = environ['TSARPATH']
14config.addDescPath(join(tsarpath, "trunk/lib"))
15config.addDescPath(join(tsarpath, "trunk/modules"))
16config.addDescPath(join(tsarpath, "branches/reconfiguration/communication"))
17config.addDescPath(join(tsarpath, "branches/reconfiguration/modules"))
Note: See TracBrowser for help on using the repository browser.