/[escript]/branches/ROBW_XPLATFORM/scons
ViewVC logotype

Log of /branches/ROBW_XPLATFORM/scons

View Directory Listing Directory Listing


Sticky Revision:

Revision 676 - Directory Listing
Modified Sun Mar 26 10:13:34 2006 UTC (17 years ago) by robwdcock
+ Modified test SConscript dependencies to remove redundant call to explicit dependency
+ Modified scon_extensions.py - run unit tests (py and C++) now use scons::Execute rather than python os.system. This ensures the development environment
is used rather than the users environment to run the tests
+ SConstruct file now sets up LD_LIBRARY_PATH and PYTHONPATH to point to the current builds pyinstall and libinstall paths as required.
IT IS NO LONGER NECESSARY TO SET LD_LIBRARY_PATH and PYTHONPATH to point at your build outputs. Much safer in the presence of multiple checked out builds.
Under these circumstances you are better of using scons to run the tests rather than doing so directly. Easiest way to do this is to build the test output target for the test you want:
e.g. scons build/posix/bruce/test/python/ImportTest.passed
or if you prefer
cd build/posix/bruce/test/python
scons -u ImportTest.passed



Revision 673 - Directory Listing
Modified Sun Mar 26 07:16:42 2006 UTC (17 years ago) by robwdcock
+ Added some svn:ignore properties so .pyc files aren't reported during svn status and friends
+ Removed esys directory. Build system will create the pyinstall/esys target and touch the __init__.py file in it as part of the build process. This means you can now direct scons to perform an install of the python directly into your desired location rather than just in the root of the source tree.


Revision 672 - Directory Listing
Modified Sat Mar 25 16:21:22 2006 UTC (17 years ago) by robwdcock
+ Scons cflags are added to cxxflags. Only need to list extra flags for
C++


Revision 671 - Directory Listing
Modified Sat Mar 25 16:04:24 2006 UTC (17 years ago) by robwdcock
+ scons adds CCFLAGS to CXXFLAGS so the c++ flags only need to specify the c++ specific ones in the options file. 



Revision 667 - Directory Listing
Modified Fri Mar 24 13:25:00 2006 UTC (17 years ago) by robwdcock
+ 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.



Revision 666 - Directory Listing
Modified Fri Mar 24 11:29:40 2006 UTC (17 years ago) by robwdcock
+ 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!
    



Revision 652 - Directory Listing
Modified Fri Mar 24 07:34:18 2006 UTC (17 years ago) by robwdcock
+Add py_tests targets and get script ones running


Revision 646 - Directory Listing
Modified Fri Mar 24 04:22:28 2006 UTC (17 years ago) by robwdcock
+ Now compiles and passes tests on AcCESS machine. Some minor mods to
the configuraiton file required as we've moved to the intel 9.0.026
compiler


Revision 641 - Directory Listing
Modified Thu Mar 23 14:02:26 2006 UTC (17 years ago) by robwdcock
+ First compilation under Linux with new xplatform build system. Some minor adjustments because didn't like None objects in a list so using '' instead
Note: Most everything appears to compile but the Data test suite is failing to pass in testMore - Exercise wherePositive method.
This test passes on altix.



Revision 635 - Directory Listing
Modified Thu Mar 23 08:56:35 2006 UTC (17 years ago) by robwdcock
+EsysExceptionTest and build_tests and run_tests targets now operating as per original build system



Revision 630 - Directory Listing
Modified Thu Mar 23 04:02:59 2006 UTC (17 years ago) by robwdcock
Some minor tweaks on the flags for the new build system


Revision 623 - Directory Listing
Modified Wed Mar 22 14:11:03 2006 UTC (17 years ago) by robwdcock
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



Revision 622 - Directory Listing
Modified Wed Mar 22 14:00:08 2006 UTC (17 years ago) by robwdcock
Creating a private branch so I can test and verify cross-platform build

Revision 619 - Directory Listing
Modified Wed Mar 22 04:49:24 2006 UTC (17 years ago) by gross
Original Path: trunk/scons
non letter and non digital in hostname ar ereplaced by _ now

Revision 591 - Directory Listing
Modified Mon Mar 13 02:05:54 2006 UTC (17 years ago) by gross
Original Path: trunk/scons
papi switched off on altix

Revision 584 - Directory Listing
Modified Thu Mar 9 23:03:38 2006 UTC (17 years ago) by gross
Original Path: trunk/scons
eigenvalues: compiles and passes tests on altix now

Revision 551 - Directory Listing
Modified Wed Feb 22 02:59:25 2006 UTC (17 years, 1 month ago) by robwdcock
Original Path: trunk/scons
Scons build options for cognac.ivec.org using intel v9.0.026 compilers
Note: Boost is currently not available as a module on cognac. As a result the boost directories used in this build point to my specific boost installation which should be visible to all ivec users. This will get fixed eventually. 


Revision 550 - Directory Listing
Modified Wed Feb 22 02:14:38 2006 UTC (17 years, 1 month ago) by gross
Original Path: trunk/scons
more tests on slicing

Revision 487 - Directory Listing
Modified Thu Feb 2 06:16:30 2006 UTC (17 years, 1 month ago) by jgs
Original Path: trunk/scons
define epydoc PYTHONPATH setting

Revision 486 - Directory Listing
Modified Thu Feb 2 05:23:44 2006 UTC (17 years, 1 month ago) by jgs
Original Path: trunk/scons
define locations of doxygen/epydoc executables

Revision 481 - Directory Listing
Modified Wed Feb 1 05:57:50 2006 UTC (17 years, 1 month ago) by jgs
Original Path: trunk/scons
add mechanism to install .h files to inc directories
(still need to specify full lists of .h files to install)


Revision 457 - Directory Listing
Modified Tue Jan 24 06:13:03 2006 UTC (17 years, 2 months ago) by jgs
Original Path: trunk/scons
fix installation to directories specified by pyinstall and libinstall


Revision 456 - Directory Listing
Modified Tue Jan 24 04:38:50 2006 UTC (17 years, 2 months ago) by jgs
Original Path: trunk/scons
minor formatting changes


Revision 455 - Directory Listing
Modified Tue Jan 24 04:36:54 2006 UTC (17 years, 2 months ago) by jgs
Original Path: trunk/scons
minor comment and formatting changes


Revision 427 - Directory Listing
Modified Tue Jan 10 04:24:07 2006 UTC (17 years, 2 months ago) by gross
Original Path: trunk/scons
typo fixed

Revision 426 - Directory Listing
Modified Tue Jan 10 04:17:43 2006 UTC (17 years, 2 months ago) by gross
Original Path: trunk/scons
some commends added


Revision 425 - Directory Listing
Modified Tue Jan 10 04:10:39 2006 UTC (17 years, 2 months ago) by gross
Original Path: trunk/scons
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. 




Revision 370 - Directory Listing
Modified Fri Dec 16 00:52:34 2005 UTC (17 years, 3 months ago) by cochrane
Original Path: trunk/scons
Updated to allow for building of API documentation.


Revision 368 - Directory Listing
Modified Thu Dec 15 23:23:12 2005 UTC (17 years, 3 months ago) by gross
Original Path: trunk/scons
and a bit more on version detection

Revision 367 - Directory Listing
Modified Thu Dec 15 22:55:46 2005 UTC (17 years, 3 months ago) by gross
Original Path: trunk/scons
include file for python is now detected

Revision 360 - Directory Listing
Modified Thu Dec 15 01:52:16 2005 UTC (17 years, 3 months ago) by jgs
Original Path: trunk/scons
add target to run all unit tests, the build will fail
for this target if any unit test fails


Revision 359 - Directory Listing
Modified Thu Dec 15 01:08:03 2005 UTC (17 years, 3 months ago) by jgs
Original Path: trunk/scons
runUnitTest now returns an error code if the test fails


Revision 309 - Directory Listing
Modified Mon Dec 5 01:59:58 2005 UTC (17 years, 3 months ago) by jgs
Original Path: trunk/scons
now load default options - by default!


Revision 297 - Directory Listing
Modified Fri Dec 2 04:57:48 2005 UTC (17 years, 3 months ago) by jgs
Original Path: trunk/scons
bruce tests cases are now automatically run whenever they are rebuilt


Revision 268 - Directory Listing
Modified Wed Nov 30 01:39:47 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
setup scons configuration to make and install python code


Revision 267 - Directory Listing
Modified Wed Nov 30 01:13:10 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
fixed typo in options string


Revision 258 - Directory Listing
Modified Tue Nov 29 06:43:14 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
add options file for the prism (not tested yet)


Revision 257 - Directory Listing
Modified Tue Nov 29 06:23:50 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
fixed specification of solver libs


Revision 256 - Directory Listing
Modified Tue Nov 29 06:22:53 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
fixed specification of solver libs


Revision 255 - Directory Listing
Modified Tue Nov 29 06:13:22 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
pass in solver libraries to link with via options files now

Revision 254 - Directory Listing
Modified Tue Nov 29 06:12:55 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
another alternative options file


Revision 252 - Directory Listing
Modified Tue Nov 29 05:58:03 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
pass in platform specific libraries via options files now


Revision 249 - Directory Listing
Modified Tue Nov 29 05:29:09 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
fix compiler options to enable compilation on gcc platforms

Revision 245 - Directory Listing
Modified Tue Nov 29 02:11:05 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
added some comments and reasonable default values

Revision 243 - Directory Listing
Modified Mon Nov 28 06:36:40 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
add a default options file - basis for other custom options files


Revision 238 - Directory Listing
Modified Mon Nov 28 05:33:38 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
fix quoting of library names


Revision 237 - Directory Listing
Modified Mon Nov 28 05:26:43 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
first draft of options file for gcc platforms


Revision 236 - Directory Listing
Modified Mon Nov 28 05:25:35 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
add names of python and boost libraries to config file


Revision 226 - Directory Listing
Modified Fri Nov 25 01:40:04 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
import compile options into bruce unit test builds from options file now


Revision 225 - Directory Listing
Modified Fri Nov 25 01:22:34 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
pass in correct options to archiver for static libraries

Revision 224 - Directory Listing
Modified Fri Nov 25 00:33:27 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
implement switching of debug compiler options based on command line flag 'debug'

Revision 223 - Directory Listing
Modified Thu Nov 24 23:12:13 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
pass in cc/cxx settings from config file

Revision 216 - Directory Listing
Modified Thu Nov 24 06:35:14 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
first pass at importing compile options from an external file'


Revision 215 - Directory Listing
Added Thu Nov 24 06:25:15 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/scons
added directory and first draft file to hold options settings
for different configurations (debug/nodebug, host, etc)


  ViewVC Help
Powered by ViewVC 1.1.26