Commit Graph

444 Commits

Author SHA1 Message Date
Laurent Rineau 1776707d3f Commit of old modifications (that are used on cgal.geometryfactory.com for
several monthes). Those modifications should not bother other cgal testers.

Details:
- New flag "-n", to build internal releases without launching the
  testsuite.
- Read "$HOME/.autocgal_with_cmake_rc" if it exists, instead of
  "$HOME/.autocgalrc" (which is only read it the previous one does not
  exist.
- Call cmake in verbose mode.
- Add quotes ("...") where needed (that is almost everywhere). That allows
filenames/dirnames with characteres that are special for the shell (such as
spaces).
- Change of the portion of shell code that modifies the occurences to
CGAL-3.x-I-xxx in CMakeCache.txt. I no longer understand the regexpr but I
know that it works (at least on cgal.geometryfactory.com).
- Move the section named "START OF MAIN BODY" to the real main body (after
all function definitions).
- That's all.
2008-05-15 12:43:21 +00:00
Fernando Cacciola b7ced7de9f Force 'make' to keep going in spite of errors (the testuite will detect the error nevertheless but will provide more information) 2008-05-13 23:21:05 +00:00
Fernando Cacciola 7fceed9683 Fixed cgal_test_with_cmake generation so it can be called indepedently of the test suite 2008-05-13 23:19:06 +00:00
Fernando Cacciola 033aeefc0d Print out folder names 2008-05-07 16:02:13 +00:00
Fernando Cacciola 1d136115e1 CMakeLists.txt are now auto-generated by create_internal_release 2008-05-05 15:09:28 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Laurent Saboret 407d895703 Fixed bash error when folder is empty 2008-03-26 15:05:26 +00:00
Fernando Cacciola f2925cfeca Workaround a problem with a clean target under cygwin+nmake 2008-03-20 19:12:21 +00:00
Fernando Cacciola 4b3a56a39d Pass CGAL_DIR as a cmake variable to get CMake properly find CGALConfig.cmake 2008-03-18 23:43:26 +00:00
Fernando Cacciola 3de724258e Convert cygwin path to windows path for CGAL_DIR to get CMake to properly find CGALConfig.cmake 2008-03-18 23:42:39 +00:00
Fernando Cacciola 6df1e6cb5f Create local build and test scripts prepending a user-defined setup script to allow platform-specific environment configuration 2008-03-18 16:44:10 +00:00
Fernando Cacciola 3ce8e5fb19 Added Visual C++ debug hook configuration 2008-03-17 18:34:41 +00:00
Fernando Cacciola 4d995d8280 cygwin fixes
fixed adaptive copying of previous configuration settings
2008-03-14 12:55:18 +00:00
Laurent Rineau dc17ec331b backport of a few improvements from autotest_cgal_with_cmake 2008-03-13 15:44:20 +00:00
Laurent Rineau 487541cf0e Commit several improvement i made:
- New option --do-not-tag that allows to using the script with --do-it
  without creating the tag.
- The script no longer sends emails for a long time. Update the usage
  text and remove the no longer used variable MAILTO.
- The script now reads a configuration file, named
  $HOME/.cgal_create_new_release_rc
  For example, mine contains:
    TMPDIR=$HOME/CGAL/create_internal_release
    HTML_DIR=/var/CGAL/www/Members/Releases
- The script now uses and absolute path for SOURCES_DIR.
- If the file ${VERSION_FILE} (aka "version_number") is not present,
  use svn to compute a new release number.
2008-03-13 14:01:32 +00:00
Fernando Cacciola 9dfbff50b8 Fixed leftover from local changes 2008-03-13 13:44:33 +00:00
Laurent Rineau 9f23b7b18f - New CPAN dependancies:
Tar::Archive
    Tar::Archive::File
    File::Copy
    File::Copy::Recursive
- Conflicts between two CGAL packages (two files with same names) are
  now checked (using CPAN packages "Archive::Tar" and
  "Archive::Tar::File" and a hash table of all files).
- Use the -C option of GNU/tar, instead of several 'mv' and 'cp -r'.
- Use commands 'move' and 'dircopy' from File::Copy and
  File::Copy::Recursive, instead of using system with 'mv' and 'cp -r'.
2008-03-13 13:41:23 +00:00
Fernando Cacciola 412e9d6e7c Fixes for cygwin, cl.exe and nmake 2008-03-13 12:55:12 +00:00
Fernando Cacciola 45b476a299 Remove 'tee' redirection 2008-03-11 17:46:20 +00:00
Laurent Rineau 81e9f4c166 Fix the 'make clean' part: one needs to specify -fMakefile, so that we are
sure that no other makefile can be used.
2008-03-11 09:32:15 +00:00
Fernando Cacciola b71c0b9946 Fix last eval line 2008-03-10 15:52:35 +00:00
Fernando Cacciola d9290833c2 Fixed copying of previous cmake cache 2008-03-10 15:52:14 +00:00
Laurent Rineau 1d84011f67 Use "make VERBOSE=1", when compiling tests with cmake, so that one can see
the command lines.
2008-03-10 13:24:55 +00:00
Fernando Cacciola 8eca6a9e15 Put testing routine back on background 2008-03-07 15:33:54 +00:00
Fernando Cacciola 69e8d74d6c autotest with cmake update 2008-03-06 16:50:44 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a2642a2f34 autotest_cgal_with_cmake update 2008-03-05 20:42:26 +00:00
Laurent Rineau 27806dd895 New script to test if one can send test results to GeometryFactory's
server.
2008-02-29 08:59:21 +00:00
Laurent Rineau e0a4e48fd4 New testsuite process:
- release is now generated at
    https://cgal.geometryfactory.com/CGAL/Members/Releases/
  - tests results are collected on the same machine, via scp.
2008-02-28 15:18:40 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Fernando Cacciola 5f5cd5f136 Remove call to C2Vcproj (now superseeded by cmake) 2008-02-05 15:44:33 +00:00
Fernando Cacciola adc4f3f54f support for multiple platforms added 2008-01-02 17:35:49 +00:00
Fernando Cacciola b691c1bffe first cut of autotest with cmake added 2007-12-28 17:43:12 +00:00
Sylvain Pion d49e006c53 Remove default argument "0" to calls to assertion_fail() et al,
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what():  basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Fernando Cacciola 77982c3048 More buid/svn tree managment scripts 2007-12-06 20:45:12 +00:00
Sylvain Pion 3c9c8088c1 Remove obsolete file checks. 2007-12-03 22:47:55 +00:00
Sylvain Pion a467612e9a Rename Packages to package_info 2007-12-03 22:45:12 +00:00
Sylvain Pion 0d9cf9ab38 Document the fact that changes.txt, description.txt, long_description.txt and maintainer
have moved.  Remove the code dealing with these files in create_internal_release.
2007-12-02 15:24:02 +00:00
Sylvain Pion aa0c42ebcb typo 2007-11-25 23:14:42 +00:00
Sylvain Pion ce87b31d68 long_description.txt was forgotten in the list of files moved to $CGAL/Packages/$Package/. 2007-11-25 10:23:17 +00:00
Fernando Cacciola 1784196317 Shallow-release creation scripts added 2007-11-06 04:44:35 +00:00
Sylvain Pion 7c86a46f54 Automatically do not submit "Doxyfile", "*.dxy", and variants of "TODO". 2007-11-03 17:50:17 +00:00
Fernando Cacciola 6ef1fdb3e6 Fixed handling of "." and ".." 2007-09-10 14:06:14 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion 1fc5d5bce6 autotest_cgal now passes $ULIMIT_OPTIONS to the remote machines' ulimit command. 2007-07-23 08:58:48 +00:00
Sylvain Pion f69bd58811 Just discovered that sed has a practical "-i" option to edit files in place. 2007-05-04 10:15:40 +00:00
Sylvain Pion ca0b98ef1d Fix VERSION file in public tarballs. 2007-05-04 09:34:04 +00:00
Laurent Rineau 38696fb3c9 *** empty log message *** 2007-04-03 14:55:12 +00:00
Laurent Rineau 19474eb0b0 Improved checks. 2007-04-03 14:09:32 +00:00
Laurent Rineau 6052258985 New script that can detect incorrect (or missing) SVN keywords (such as
"$Source:$, which is a CVS keyword).
2007-04-03 13:32:22 +00:00
Joachim Reichel b0490f792a handle relative paths as argument for the -a option 2007-03-25 12:50:28 +00:00
Joachim Reichel d8bdbd0ac3 update list of extensions and exceptions
check if it is safe to use a subdirectory called 'stats'
2007-03-18 20:38:23 +00:00
Joachim Reichel 4f47903a25 moved src/Core to src/CGALCore
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Laurent Rineau 160875b14c new script check_no_CGAL_USE_without_includes_before that checks for use of
CGAL_USE_* macros before the first inclusion of a CGAL header.
2007-03-12 14:50:23 +00:00
Sylvain Pion 2e95a47ebe Pass down $MAKEFLAGS to install_cgal when building the release.
(not yet to the test-suite as it would interfere with the current
mechanism to parallelize the test-suite).
2007-03-10 20:34:44 +00:00
Sylvain Pion 6cd197df85 Darwin porting 2007-03-10 17:47:19 +00:00
Sylvain Pion 732f926025 The script I use to cleanup files with leading and trailing empty lines 2007-03-10 16:47:06 +00:00
Sylvain Pion 1f088ecde2 replace copy-pasted code by calling create_cgal_test --no-run for demos 2007-03-09 22:58:30 +00:00
Sylvain Pion d7494960f0 Add a --no-run option which avoids executing (to be used for demos) 2007-03-09 22:52:40 +00:00
Andreas Fabri d305869dc5 Added FTP_OPTS as cygwin and Linux ftp have different options 2007-02-28 09:54:05 +00:00
Sylvain Pion 158fedcd9f Remove the copy of config/testfiles to test/Configuration, since it's not needed
anymore since we now have the install.log in the Installation line of the test-suite.
And it makes the tarball one step closer from the SVN content.
2007-02-15 23:16:51 +00:00
Sylvain Pion aa2b3f8100 replace copy-pasted inline create_cgal_test by calling the script 2007-02-15 23:03:43 +00:00
Sylvain Pion ea28376074 synchronize with the old way from create_internal_release 2007-02-15 22:53:44 +00:00
Sylvain Pion e033f248fb make it the same as the cgal_test created by create_internal_release 2007-02-15 22:33:49 +00:00
Sylvain Pion bb090b6ce6 Only considers those *.C and *.cpp files that contain
a main() function (more precisely, that match "\<main\>").
2007-02-15 16:02:11 +00:00
Sylvain Pion 83b3155d82 remove duplicate/buggy copy of the install.log files 2007-02-07 14:38:40 +00:00
Laurent Rineau 1cf3971452 - fix creation of the source RPM.
- new option --verbose, to set log to std out instead of the logfile
- do not try to remove files of the public release, if $DO_PUBLIC is empty.
2007-01-31 18:40:02 +00:00
Sylvain Pion 98fb3fc5bb Add -p (passive mode) to FTP, otherwise it doesn't work on some sites.
(I hope it will not break other sites...)
2007-01-28 09:59:45 +00:00
Sylvain Pion 5ac99beace Remove 2 obsolete scripts dealing with adding/removing useless protect macros. 2007-01-24 18:03:00 +00:00
Sylvain Pion 9b7a13a3ed Remove obsolete modules creation scripts. 2007-01-24 16:07:20 +00:00
Sylvain Pion 6ab2e23c59 Cleanup : replace all log redirections " >> ${LOGFILE} 2>&1 " by a unique
"exec" command (thanks for the hint from an anonymous developer).
2007-01-24 15:58:22 +00:00
Laurent Rineau ec68e6c9f9 Fix the src.rpm generation. 2007-01-24 15:37:19 +00:00
Andreas Meyer 4ec2c7f37f testsuite webpage now has entries for libCGAL* 2007-01-11 22:32:08 +00:00
Sylvain Pion 1cf931a3d1 Fix last change for the case where TEST_DIR_ROOT is defined (e.g. to /tmp). 2007-01-06 23:12:28 +00:00
Sylvain Pion afa01f1d5d web files are now on agrion instead of bombyx (redirects make it transparent). 2006-12-19 13:17:02 +00:00
Sylvain Pion 0690df2a39 Update cgal-develop mail adress.
And comment out mail sending, as I doubt it's that useful.
2006-08-25 06:56:28 +00:00
Andreas Meyer 692d68bffe bugfix: for some machines, the commandlines became too long.
solution: echo into a script and execute this script
2006-08-14 13:18:56 +00:00
Laurent Rineau db20bb4393 Revert revision 32553.
And modify "define internal_release.*" to 
"define +internal_release +[0-9]+".
2006-07-17 15:59:15 +00:00
Laurent Rineau 91074e07b4 Change the way of specifying the internal release number, for RPMS. 2006-07-17 12:33:44 +00:00
Sylvain Pion c8b5db64c9 - Add better command-line parsing code
- Add a "--public" option that selects building of public versions.
  (so it's disabled by default)
2006-07-14 09:32:35 +00:00
Menelaos Karavelas 9ce4a9edb4 fixed error 2006-07-14 09:24:18 +00:00
Menelaos Karavelas d3d02e921c now the create_macosx_installer script takes the CGAL version as an argument 2006-07-14 09:22:39 +00:00
Sylvain Pion 21db610b9f Adding the "--rpm" option, and it is necessary to build the SRPMs. 2006-07-14 08:43:58 +00:00
Sylvain Pion 28b8819f3e Add an option to not require the version_number file,
and if not there, assume "0" as internal version number.
2006-07-14 08:21:32 +00:00
Sylvain Pion d88e2d91c8 Change the generated \cgalversion to be the public name, and add \cgalinternalversion. 2006-07-14 07:47:12 +00:00
Sylvain Pion 665737af0f Spot .cpp files under test/ as well. 2006-07-12 13:56:53 +00:00
Sylvain Pion 8fd4f75282 Remove remove_line_directives (I have not seen any use of it since years) 2006-07-12 13:55:52 +00:00
Sylvain Pion f9fd5fd680 Add command-line options:
--help
  --do-it
2006-07-12 12:50:03 +00:00
Sylvain Pion 5a1d4b985b - Create a new file $CGAL/VERSION which contains the version
number and no carriage return.
- Use it in install_cgal instead of parsing <CGAL/version.h>.
2006-07-12 10:01:06 +00:00
Sylvain Pion 4e5bf788d5 Use `pwd` instead of /home/spion/... 2006-07-12 09:28:01 +00:00
Sylvain Pion b28e8a422d Remove building of doc_pdf/Installation.pdf in the public
versions of the releases.  Updates some files mentioning it.
2006-07-06 07:43:40 +00:00
Laurent Rineau ed49473c10 Fix the handling of internal release numbers, in the rpm spec.
I should be more robust, now.
2006-07-01 20:55:13 +00:00
Sylvain Pion 2a18c5f092 In addition to the "CGAL-I" symbolic link, add a link
like "CGAL-3.3-I".
2006-06-13 19:27:24 +00:00
Sylvain Pion 395e657a1b Another attempt at using a constant file for test/makefile
rather than something generated by create_internal_release.
2006-05-27 11:15:06 +00:00
Sylvain Pion fd4442b1c8 Undo last change. Actually the test/makefile is used by autotest_cgal. 2006-05-25 21:15:17 +00:00
Sylvain Pion 3f05673fa2 Remove old public/internal distinction. 2006-05-21 23:24:54 +00:00
Sylvain Pion faad4860f9 Remove creation of test/Makefile, as I do not see where it is used. 2006-05-21 22:36:31 +00:00
Sylvain Pion 3ef714537a Remove treatment of obsolete files (version, submission_info...). 2006-05-21 21:58:03 +00:00
Sylvain Pion b71b0e2e98 Remove the copy of src/* as test/src_* since it's buggy right now
(hard to emulate the right makefiles anyway).  And hopefully we will
have the install.log file provide the information in the test-suite
soon...
2006-05-21 21:35:53 +00:00
Sylvain Pion cb0f309615 Remove packages_file and scriptdir options (probably useless)
Allow another directory than trunk.
2006-05-21 21:24:21 +00:00
Sylvain Pion b65115eb5f Save Installation.pdf compilation log file. 2006-05-20 21:42:49 +00:00
Sylvain Pion 2e7505dbb7 Move release creation script to a Fedora machine.
(to fix Installation.pdf)
2006-05-19 10:15:50 +00:00
Menelaos Karavelas 126480dfae minor modifs 2006-05-16 23:15:53 +00:00
Menelaos Karavelas 6ffc58f1df - added script for creating the MacOSX installer/distribution 2006-05-16 23:03:39 +00:00
Sylvain Pion dbe3898896 - Add the build of doc_pdf/Installation.pdf to public releases (.tar.gz, .zip
and .srpm).
- Switch back to non-testing mode.
2006-05-15 17:56:26 +00:00
Sylvain Pion 7689325a68 Add a variable selecting "local testing only" (without side-effects like
putting stuff on the web, sending announcement mail, svn commits...).
2006-05-15 17:10:18 +00:00
Sylvain Pion 0786ab3e1a Generate SRPM for the public version as well. 2006-05-05 09:47:41 +00:00
Sylvain Pion 4102c29324 Fix sed command used to patch version.h
Run zip in quiet mode, -q.
2006-04-30 17:14:59 +00:00
Sylvain Pion 61e76fd96d Add CGAL_SVN_REVISION macro to version.h . 2006-04-28 22:41:30 +00:00
Sylvain Pion 2fc4dccc8a Create a zip file as well for the public version of releases. 2006-04-28 21:30:20 +00:00
Sylvain Pion 755f122b98 make LOGFILE use an absolute path to protect against "cd". 2006-04-28 20:52:06 +00:00
Sylvain Pion a6bbefaad3 Add creation of public version of each internal release. 2006-04-28 17:20:14 +00:00
Sylvain Pion 2021a35edf SRPM fixlets. 2006-04-27 14:03:15 +00:00
Michael Hoffmann c3f2ba8895 Use BUILD_ON_host variable instead of --rebuild-all. 2006-04-27 09:38:26 +00:00
Michael Hoffmann 76b1771e70 Minor fixes. 2006-04-24 12:00:36 +00:00
Sylvain Pion 2480e17ac9 Fixes for .src.rpm. 2006-04-23 19:31:40 +00:00
Sylvain Pion eef321a737 Create the SRPM of the tarball, and put its name in LATEST_SRPM on the web. 2006-04-22 21:45:44 +00:00
Sylvain Pion 85ef504a20 Fix the LOGFILE name, which used to depend on the release number. 2006-04-17 19:53:45 +00:00
Sylvain Pion e71eb17d39 Pass the svn dir name as argument (default is "trunk") 2006-04-17 18:51:07 +00:00
Sylvain Pion 2c5c2ad1fe Move the definition of the major/minor/bugfix release numbers out
of the create_new_release script, into their own files.
2006-04-17 13:54:58 +00:00
Sylvain Pion 92858051ea Pick create_internal_release from the SVN tree as well, as
${SOURCES_DIR}/Scripts/developer_scripts/create_internal_release
2006-04-17 13:25:48 +00:00
Sylvain Pion 2ea3bdc1bf Pick cgal_create_makefile from $allpackagesdir/Scripts/scripts/
by default.
2006-04-17 13:21:42 +00:00
Sylvain Pion 6f2452b1e5 Make it pick the file include_in_release by default as
$ALLPACKAGESDIR/Maintenance/release_building/include_in_release.
2006-04-17 13:09:46 +00:00
Sylvain Pion 742b75ff9e Replace "All" by trunk as the default allpackages directory. 2006-04-17 13:01:24 +00:00
Sylvain Pion 22ad725de1 Move src/*.C to src/CGAL/*.C 2006-04-13 22:24:18 +00:00
Sylvain Pion c1373346f2 Merge src/makefile_lib and src/makefile_sharedlib into src/makefile.
This required to pass CXXFLAGS on the make command-line, and therefore
I took this opportunity to also pass CGAL_MAKEFILE on the command-line,
which in turn allowed to get rid of the prepare_lib_makefiles function.
2006-04-13 22:02:29 +00:00
Sylvain Pion e1a632e7cf Move src/makefile* under SVN instead of being generated. 2006-04-09 22:07:10 +00:00
Sylvain Pion d7520d90fb - Change ulimit from 20 minutes to 60 minutes. 2006-03-22 17:40:45 +00:00
Sylvain Pion 8d012cf255 - Change the default ulimit from 20 minutes to 60 minutes. 2006-03-22 17:39:52 +00:00
Sylvain Pion 82f07d6c16 - cleanups thanks to SVN move
- remove diff creations (probably useless)
- use exact release name as tag name
  (removal of "-" and "." is not needed by SVN).
2006-03-21 22:47:19 +00:00
Sylvain Pion 775d661ee4 Remove special treatment for the Modules/ directory, which is now dont_submit'ed. 2006-03-18 18:09:22 +00:00
Joachim Reichel 7e9a453443 improvement of previous fix (use "system (...) == 0 or die" syntax) 2006-03-16 22:31:45 +00:00
Joachim Reichel 1542374e2b fail if calling $SCRIPTSDIR/cgal_create_makefile fails (e.g., a wrong
directory was specified)
2006-03-16 20:51:11 +00:00
Joachim Reichel f582718758 rename create_makefile to cgal_create_makefile to avoid name clashes,
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Sylvain Pion 444bc13a29 - Move to developers_scripts (probably useless these days). 2006-03-14 22:39:02 +00:00
Sylvain Pion 71e27330d3 - Move scripts/cgal_conditional_include* scripts to developer_scripts/
(probably obsolete, certainly not public)
2006-03-14 22:31:40 +00:00
Joachim Reichel ba0ada203a LGPL copyright notices added to src/makefile_{shared,}lib 2006-03-11 12:36:31 +00:00
Sylvain Pion 1fe35d30e1 - Remove crypt_passwd (obsoleted by SVN move). 2006-03-06 18:44:42 +00:00
Joachim Reichel 50cd028c94 * recognize C- and shell-style comments 2006-02-16 20:39:47 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Joachim Reichel ca638f6cd9 new script to check license notices 2006-02-14 18:10:57 +00:00
Sylvain Pion cc1296886b Update release scripts for SVN 2006-02-14 14:50:21 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret a9faefad24 Move packages to trunk root 2006-02-14 08:58:19 +00:00