Ignore:
Timestamp:
Dec 12, 2014, 4:52:47 PM (9 years ago)
Author:
cfuguet
Message:

reconf: improve platform configuration scripts for OpenMP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/soclib.conf

    r865 r906  
    11# append compilation flags
    22cflags = config.default.toolchain.cflags
    3 cflags.extend(['-DUSE_OPENMP=0'])
     3if config.default == config.envsystemcassomp:
     4        cflags.extend(['-DUSE_OPENMP=1'])
     5else:
     6        cflags.extend(['-DUSE_OPENMP=0'])
    47#cflags.extend(['-ggdb'])
    58config.default.toolchain.set("cflags", cflags)
Note: See TracChangeset for help on using the changeset viewer.