Last change
on this file since 3418 was
3418,
checked in by jack, 18 years ago
|
Fixed the pymetis SConscript under linux. Not sure why the unit test gives
different results though.
|
File size:
441 bytes
|
Line | |
---|
1 | import glob |
---|
2 | import sys |
---|
3 | |
---|
4 | Import('env') |
---|
5 | env2 = env.Copy() |
---|
6 | files = glob.glob(('%s/Lib/*.c' % env2['METIS_DIR'])) |
---|
7 | if sys.platform == 'win32': |
---|
8 | files += ['win32/random.c'] |
---|
9 | env2.Append(CPPPATH=[('%s/Lib' % env2['METIS_DIR'])]) |
---|
10 | env2.SharedLibrary(('%s/metis' % env2['METIS_DIR']), files) |
---|
11 | |
---|
12 | env2.Append(CPPPATH=['pymetis']) |
---|
13 | env2.Append(LIBPATH=[env2['METIS_DIR']]) |
---|
14 | env2.Append(LIBS=['metis']) |
---|
15 | env2.SharedLibrary('metis', glob.glob('pymetis/*.c')) |
---|
Note: See
TracBrowser
for help on using the repository browser.