Skip to content

Commit

Permalink
Correcting the mistake to resolve conflicts
Browse files Browse the repository at this point in the history
git-svn-id: https://ipvs.informatik.uni-stuttgart.de/SGpp/repos/trunk@4643 4eea3252-f0fb-4393-894d-40516dce545b
  • Loading branch information
mahvili committed Jul 30, 2015
1 parent 30cb046 commit b4e0e09
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 29 deletions.
2 changes: 0 additions & 2 deletions base/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import fnmatch

Import('env')
Import('BUILD_DIR')
Import('EXAMPLE_DIR')
Import('PYSGPP_BUILD_PATH')
Import('moduleName')
Import('libraryTargetList')
Expand Down Expand Up @@ -67,7 +66,6 @@ for fileName in os.listdir("examples"):
if env['COMPILE_BOOST_TESTS']:
Import('boostTestTargetList')
test_env = env.Clone()
test_env.AppendUnique(LIBPATH=[BUILD_DIR, "#/lib/alglib"])
test_env.AppendUnique(LIBS=libs + ["sgpp%s" % moduleName, "boost_unit_test_framework"])
testObjects = []
for fileName in os.listdir("tests"):
Expand Down
1 change: 0 additions & 1 deletion combigrid/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ lib = env.SharedLibrary(target="sgpp%s" % moduleName,
LIBPATH=BUILD_DIR,
LIBS=libs)

#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])

libInstall = env.Install(BUILD_DIR, lib)
Expand Down
12 changes: 3 additions & 9 deletions datadriven/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def isAVXFolder(folder):
return True
return False

libs = ['sgppbase', 'sgppsolver', 'libalglib', 'sgpppde']
libs = ['sgppbase', 'sgppsolver', 'sgpppde']
if env['USE_OCL']:
libs += ['OpenCL']

Expand All @@ -45,21 +45,15 @@ for currentFolder, subdirNames, fileNames in os.walk("src", topdown=True):
sourceFile = os.path.join(currentFolder, fileName)
objs.append(env.SharedObject(sourceFile))

env.AppendUnique(LIBPATH=[BUILD_DIR, "#/lib/alglib"])
env.AppendUnique(LIBPATH=[BUILD_DIR])
lib = env.SharedLibrary(target="sgpp%s" % moduleName,
source=objs,
# LIBPATH = [BUILD_DIR, '#/lib/alglib'],
LIBS=libs)


#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgpppde.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgpppde" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppsolver.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppsolver" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/lib/alglib" + "/libalglib.so")
env.Depends(lib, "#/lib/alglib" + "/" + env["LIBPREFIX"] + "alglib" + env["SHLIBSUFFIX"])

libInstall = env.Install(BUILD_DIR, lib)

Expand All @@ -85,7 +79,7 @@ for fileName in os.listdir("examples"):
if env['COMPILE_BOOST_TESTS']:
Import('boostTestTargetList')
test_env = env.Clone()
test_env.AppendUnique(LIBPATH=[BUILD_DIR, "#/lib/alglib"])
test_env.AppendUnique(LIBPATH=[BUILD_DIR])
test_env.AppendUnique(LIBS=libs + ["sgpp%s" % moduleName, "boost_unit_test_framework", "z"])
testObjects = []
for fileName in os.listdir("tests"):
Expand Down
10 changes: 6 additions & 4 deletions finance/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ import fnmatch

Import('env')
Import('BUILD_DIR')
Import('PYSGPP_BUILD_PATH')
Import('EXAMPLE_DIR')
Import('moduleName')
Import('libraryTargetList')
Import('installTargetList')
Import('exampleTargetList')

libs = ['sgppbase', 'sgpppde', 'sgppdatadriven']
libs = ['sgppbase', 'sgpppde']

srcs = []
for currentFolder, subdirNames, fileNames in os.walk("."):
Expand All @@ -38,7 +42,6 @@ if not env['NO_UNIT_TESTS'] and env['SG_PYTHON']:
env.Requires(moduleTest, libInstall)
testTargetList.append(moduleTest)

Import('exampleTargetList')
for fileName in os.listdir("examples"):
if fnmatch.fnmatch(fileName, "*.cpp"):
example = env.Program(source=os.path.join("examples", fileName),
Expand All @@ -47,7 +50,6 @@ for fileName in os.listdir("examples"):
env.Requires(example, libInstall)
exampleTargetList.append(example)

Import('libraryTargetList')
Import('installTargetList')

libraryTargetList.append(lib)
installTargetList.append(libInstall)
2 changes: 0 additions & 2 deletions optimization/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ lib = env.SharedLibrary(target="sgpp%s" % moduleName,
LIBPATH=BUILD_DIR,
LIBS=libs)

#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])

libInstall = env.Install(BUILD_DIR, lib)
Expand All @@ -104,7 +103,6 @@ for fileName in os.listdir("examples"):
if env['COMPILE_BOOST_TESTS']:
Import('boostTestTargetList')
test_env = env.Clone()
test_env.AppendUnique(LIBPATH=[BUILD_DIR, "#/lib/alglib"])
test_env.AppendUnique(LIBS=libs + ["sgpp%s" % moduleName, "boost_unit_test_framework"])
testObjects = []
for fileName in os.listdir("tests"):
Expand Down
5 changes: 0 additions & 5 deletions parallel/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import fnmatch

Import('env')
Import('BUILD_DIR')
Import('EXAMPLE_DIR')
Import('moduleName')

env_parallel = env.Clone()
Expand Down Expand Up @@ -118,13 +117,9 @@ lib = env_parallel.SharedLibrary(target="sgpp" + moduleName,
source=objs,
LIBPATH=BUILD_DIR,
LIBS=libs)
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgpppde.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgpppde" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppdatadriven.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppdatadriven" + env["SHLIBSUFFIX"])
#env_parallel.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppsolver.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppsolver" + env["SHLIBSUFFIX"])
libInstall = env_parallel.Install(BUILD_DIR, lib)

Expand Down
2 changes: 0 additions & 2 deletions pde/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import fnmatch

Import('env')
Import('BUILD_DIR')
Import('EXAMPLE_DIR')
Import('PYSGPP_BUILD_PATH')
Import('moduleName')
Import('libraryTargetList')
Expand All @@ -32,7 +31,6 @@ lib = env.SharedLibrary(target="sgpp%s" % moduleName,
LIBPATH=BUILD_DIR,
LIBS=libs)

#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])
libInstall = env.Install(BUILD_DIR, lib)

Expand Down
2 changes: 0 additions & 2 deletions quadrature/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import fnmatch

Import('env')
Import('BUILD_DIR')
Import('EXAMPLE_DIR')
Import('PYSGPP_BUILD_PATH')
Import('moduleName')
Import('libraryTargetList')
Expand All @@ -33,7 +32,6 @@ lib = env.SharedLibrary(target="sgpp%s" % moduleName,
LIBPATH=BUILD_DIR,
LIBS=libs)

#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])

libInstall = env.Install(BUILD_DIR, lib)
Expand Down
2 changes: 0 additions & 2 deletions solver/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ lib = env.SharedLibrary(target="sgpp%s" % moduleName,
LIBPATH = [BUILD_DIR],
LIBS=libs)

#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgppbase.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgppbase" + env["SHLIBSUFFIX"])
#env.Depends(lib, "#/" + BUILD_DIR.path + "/libsgpppde.so")
env.Depends(lib, "#/" + BUILD_DIR.path + "/" + env["LIBPREFIX"] + "sgpppde" + env["SHLIBSUFFIX"])

libInstall = env.Install(BUILD_DIR, lib)
Expand Down

0 comments on commit b4e0e09

Please sign in to comment.