Permalink
Browse files

removed some backup file

  • Loading branch information...
1 parent 4cd7a50 commit e1135c346ba078a220bc7e91188ec683245987ac @b45ch1 committed Jan 19, 2010
Showing with 0 additions and 58 deletions.
  1. +0 −58 SConstruct.old
View
@@ -1,58 +0,0 @@
-import distutils.sysconfig
-import os
-import numpy
-
-
-# -1: CUSTOMIZE THIS TO FIT YOUR SYSTEM !!!
-python_include_path= '/usr/include/python2.5'
-
-adolc_include_path = '/u/walter/workspace/ADOL-C-2.1.0/ADOL-C/src'
-adolc_library_path = '/u/walter/workspace/ADOL-C-2.1.0/ADOL-C/src/.libs'
-
-colpack_include_path = '/u/walter/workspace/colpack/build/include'
-colpack_library_path = '/u/walter/workspace/colpack/build/lib'
-
-LIBS = ['adolc',
- 'boost_python',
- 'colpack',
- ]
-LIBPATH = [
- adolc_library_path,
- colpack_library_path,
- ]
-INCLUDEPATH = [
- adolc_include_path,
- python_include_path,
- colpack_include_path,
- ]
-
-
-
-# 0: setup the command line parsing
-AddOption('--prefix',
- dest='prefix',
- nargs=1, type='string',
- action='store',
- metavar='DIR',
- help='installation prefix')
-
-
-env = Environment(
- PREFIX = GetOption('prefix'),
- TMPBUILD = '/tmp/builddir',
- CPPPATH=[distutils.sysconfig.get_python_inc(),numpy.get_include()] + INCLUDEPATH,
- CXXFLAGS="-ftemplate-depth-100 -DBOOST_PYTHON_DYNAMIC_LIB -O2 -Wall",
- LIBPATH=["/usr/lib/python2.5/config"] + LIBPATH,
- LIBS= LIBS,
- RPATH = LIBPATH, #include information where shared libraries can be found to avoid errors like: "ImportError: libboost_python-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory"
- SHLIBPREFIX="", #gets rid of lib prefix
-)
-
-Export('env')
-Export('adolc_include_path')
-SConscript('adolc/SConscript')
-SConscript('adolc/sparse/SConscript')
-
-env.Install( target='./build/adolc/', source = ['adolc/__init__.py','adolc/wrapped_functions.py', 'adolc/cgraph.py','adolc/_adolc.so'])
-env.Install( target='./build/adolc/sparse/', source = ['adolc/sparse/__init__.py', 'adolc/sparse/_colpack.so', 'adolc/sparse/wrapped_functions.py'])
-

0 comments on commit e1135c3

Please sign in to comment.