Last change
on this file since 924 was
906,
checked in by cfuguet, 10 years ago
|
reconf: improve platform configuration scripts for OpenMP
|
File size:
632 bytes
|
Rev | Line | |
---|
[808] | 1 | # append compilation flags |
---|
| 2 | cflags = config.default.toolchain.cflags |
---|
[906] | 3 | if config.default == config.envsystemcassomp: |
---|
| 4 | cflags.extend(['-DUSE_OPENMP=1']) |
---|
| 5 | else: |
---|
| 6 | cflags.extend(['-DUSE_OPENMP=0']) |
---|
[808] | 7 | #cflags.extend(['-ggdb']) |
---|
| 8 | config.default.toolchain.set("cflags", cflags) |
---|
[748] | 9 | |
---|
[808] | 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")) |
---|
[865] | 16 | config.addDescPath(join(tsarpath, "branches/reconfiguration/communication")) |
---|
[841] | 17 | config.addDescPath(join(tsarpath, "branches/reconfiguration/modules")) |
---|
Note: See
TracBrowser
for help on using the repository browser.