Last change
on this file since 931 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 |
---|
2 | cflags = config.default.toolchain.cflags |
---|
3 | if config.default == config.envsystemcassomp: |
---|
4 | cflags.extend(['-DUSE_OPENMP=1']) |
---|
5 | else: |
---|
6 | cflags.extend(['-DUSE_OPENMP=0']) |
---|
7 | #cflags.extend(['-ggdb']) |
---|
8 | config.default.toolchain.set("cflags", cflags) |
---|
9 | |
---|
10 | # append modules' description file paths |
---|
11 | from os import environ |
---|
12 | from os.path import join |
---|
13 | tsarpath = environ['TSARPATH'] |
---|
14 | config.addDescPath(join(tsarpath, "trunk/lib")) |
---|
15 | config.addDescPath(join(tsarpath, "trunk/modules")) |
---|
16 | config.addDescPath(join(tsarpath, "branches/reconfiguration/communication")) |
---|
17 | config.addDescPath(join(tsarpath, "branches/reconfiguration/modules")) |
---|
Note: See
TracBrowser
for help on using the repository browser.