Parent Directory
|
Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
+ OUCH ARGHH + Okay the wizzy linkHack doesn't work. Not sure why but py_tests fail when the shared library is on the link line directly (without a -l) + Unfortunately we can't figure out how to use -l without it prepending a lib prefix. Hence all the shareable objects in python now need to be called libblah.so (and lib will need to be prepended on windows!!!!). This is not the python way and its very annoying. Why do we have this problem? Because the C++ shared libraries link with each other.
+ Fix up python esys area: + libraries are named without lib prefix on posix platforms (python standard) + libraries are now installed into the pyinstall area (python standard) + symlinks removed, no longer required + LD_LIBRARY_PATH is now optional for PYTHON programs (still required for c++) + lib PREFIX removal NOTES: + removing the lib prefix is non-standard for the linker. As such we've created a custom function sharedLinkHack to specify the .so on the link command line (as opposed to using -l<archive> which will prepend the lib). This has a a small slight of hand for scons which was being to "helpful". Scons verifies that when creating a shared libray all objects specified are created shareable (e.g. ensure objects are compiler with -fPIC). Since we are linking a .so out of the blue we had to wrap it up in a File note and flag it as shared. Easily done, once you know how. Thankfully this is all wrapped up in a simple function (sharedLinkHack) that looks like ordinary scons so you will never know!
+Linker is sensitive to library order. mkl_solver needs to be near the end or paradiso_ goes missing
# fix some lib flags
+Python file now compile and install into pyinstall directory
+Finely unit tests now running in build system All C++ tests run and compile on Altix, I expect the same result for Linux so you may not see another log message for that.
Beginning of a fully cross-platform (win32+intelc, linux+g++, altix+intelc) scons build system WORK IN PROGRESS NOT COMPLETE +Incorporates ideas from trunks scons build system and the RW_WIN32 branch +New Header layout as include/<modulename>, hence the changes to the headers +Not all modules or features from trunk build system are fully implemented -Removes need for intermediary SConstruct files - the top SConstruct is more complex but handle cross-platform better AND the SConscript are a LOT simpler and only differ slightly. It should be simpler to maintain -Options are now handled via either a: config file supplied on command line, a config file in the scons/hostname_options.py, or as individual command line arguments -Need help with options: scons -h will give you a list of options and their current settings
Creating a private branch so I can test and verify cross-platform build
mmio moced to paso
eigenvalues: compiles and passes tests on altix now
first steps towards the reuse of the element jacobians
add remainder of includes to SConscript includes install
add mechanism to install .h files to inc directories (still need to specify full lists of .h files to install)
restructure escript source tree move src/Data/* -> src remove inc modify #includes and cpppath settings accordingly
reorganise finley src tree to remove inc dir and src/finley directory
reorganised esysUtils to remove inc directory
adjustments to includes to allow for new paso src tree structure
The sparse solver can be called by paso now. the building has been change to reduce some code redundancy: now all scons SCscripts are importing scons/esys_options.py which imports platform specific settings.
turns out Install() targets should also be made Default() targets if you want them to actually reliably work!
now automatically build unit tests as required based on dependencies between unit tests and libraries
explicitly define dependencies between modules
pass in cc/cxx settings from config file
revised scons files to account for new finley source tree structure
copy finleyC and CPPAdapter to finley and finley/CPPAdapter to facilitate scons builds
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
pass in value for esysroot and use this to determine include file locations
explicitly add -fpic option to all compiler options lists to ensure relocatable code is generated
first draft of config/construct files for finleyC/finleycpp libraries
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |