summaryrefslogtreecommitdiff
path: root/Build-tools
Commit message (Collapse)AuthorAgeFilesLines
* Added patches from Novellunknown2004-05-251-8/+8
| | | | | | | | | | | | | | | | Build-tools/Do-compile: Fixed indentation configure.in: Added patches from Novell Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS extra/perror.c: Fixed error number reporting to not report 'Unknown error' include/my_global.h: Defines to make NETWARE patches cleaner include/thr_alarm.h: Fixed wrong macro netware/mysql_install_db.c: Indentation fix
* - Do-pkg: PGK and DMG names now include the full arch name (e.g. unknown2004-03-191-2/+11
| | | | | | | | | | | | | "-apple-darwin7.3.0-powerpc") - this is needed as we now will provide Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of how we name all other packages) Build-tools/Do-pkg: - PGK and DMG names now include the full arch name (e.g. "-apple-darwin7.3.0-powerpc") - this is needed as we now will provide Mac OS X 10.2.x and Mac OS X 10.3.x PGKs (and it's more in line of how we name all other packages)
* Major work on Windows build automation-- add binary packaging, suffixesunknown2004-02-191-14/+53
| | | | | | | | | | | | | | | Build-tools/Do-win-build: Add suffix option, classic build, binary packaging VC++Files/comp_err/comp_err.dsp: Update project file -- binary goes to ../client_release now VC++Files/my_print_defaults/my_print_defaults.dsp: Update project file -- binary goes to ../client_release now VC++Files/myisam_ftdump/myisam_ftdump.dsp: Update project file -- binary goes to ../client_release now VC++Files/myisampack/myisampack.dsp: Update project file -- binary goes to ../client_release now scripts/Makefile.am: Add make_win_binary_distribution to Makefile (for @VERSION@)
* Mergeunknown2004-02-092-9/+6
|\
| * - don't add merge ChangeSets to the Changelog in Bootstrapunknown2004-02-041-1/+1
| | | | | | | | | | | | | | | | (reduce the noise) Build-tools/Bootstrap: - don't add merge ChangeSets to the Changelog (reduce the noise)
| * Some small enhancements for Do-compile:unknown2004-02-041-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - more flexible removal of old cruft before creating the new binary distribution - more flexible globbing for the binary tarball (required for QNX, where the file name ends on *.tgz instead of .tar.gz due to file name lenght restrictions Build-tools/Do-compile: Some small enhancements: - more flexible removal of old cruft before creating the new binary distribution - more flexible globbing for the binary tarball (required for QNX, where the file name ends on *.tgz instead of .tar.gz due to file name lenght restrictions
* | Revise Windows build script, correct comment re NetWare in libmysql.cunknown2004-01-211-4/+7
|/ | | | | | | Build-tools/Do-win-build: Copy logfile for pickup by Do-compile-win libmysql/libmysql.c: Comment was previously inaccurate
* - remove unnecessary code from Do-rpm to delete the source tarball andunknown2004-01-211-14/+3
| | | | | | | | | spec file after the build as RPM has its own option for this Build-tools/Do-rpm: - remove unnecessary code to delete the source tarball and spec file after the build as RPM has its own option for this
* Wrote small Windows build automation script in preparation unknown2004-01-151-0/+82
| | | | | | | for re-working project files and enabling remote builds.
* - Fixed another missing spaceunknown2003-12-231-1/+1
|
* - Bugfix for Do-rpm (moving of the resulting packages did not work due tounknown2003-12-163-2/+5
| | | | | | | | | | | | | | | | a missing space) - Define the subject of the failure mail reports within the calling script instead of logger.pm Build-tools/Bootstrap: - Define the subject for the failure mail within the Build script Build-tools/Do-rpm: - Define the subject of the failure email within the build script - Added missing space to make moving of the resulting packages working Build-tools/logger.pm: - Define the subject for the failure mail within the calling script instead of here
* - Output redirection does not work with run_command(), use system()unknown2003-12-131-3/+2
| | | | | | | instead.
* - added missing space for previous commitunknown2003-12-131-1/+1
|
* - Some small Perl enhancements for Do-compile: use more Perl builtins.unknown2003-12-131-3/+5
| | | | | | Build-tools/Do-compile: - use more Perl builtins (e.g. hostname(), basename()) instead of forking subprocesses
* - Reworked the Do-rpm build script to be more flexibleunknown2003-12-121-27/+58
| | | | | | | | | | | | | | | - Reworked testing for gcc3 in the RPM spec file a bit Build-tools/Do-rpm: Big overhaul: - Give the spec file name as the option, not the version number (required to be able to build commercial RPMs, too) - Some more logging and debugging, more documentation support-files/mysql.spec.sh: - made testing for gcc3 a bit more robust and not to stomp on user settings for CXX
* - Rather "bk cat" the files from the mysqldoc BK tree during Bootstrapunknown2003-12-111-8/+13
| | | | | | | | | | | | | than trying to copy them (they might have been "bk clean"ed and thus not available for copying) - Brushed up the Bootstrap online help a bit Build-tools/Bootstrap: - Rather "bk cat" the files from the mysqldoc BK tree than trying to copy them (they might have been "bk clean"ed and thus not available for copying) - Brushed up the online help a bit
* - added missing option "--without-embedded" to be able to compile withoutunknown2003-08-211-0/+1
| | | | | | | the embedded server (it was missing in the previous push)
* - Added a missing directory variable definition to the Bootstrap script.unknown2003-08-191-1/+2
| | | | | | Build-tools/Bootstrap: - defined $opt_directory to be the present working directory. No clue how this worked before...
* - Do-pkg can now create a separate package including a MySQL Startup Itemunknown2003-08-191-32/+95
| | | | | | | | | | | | | for Mac OS X and add it to the installation Disk Image. Build-tools/Do-pkg: - added code to build the StartupItem PKG along with the MySQL PKG and add it to the resulting Disk Image (can be skipped with --skip-si) - lots of cleanups (use more builtin Perl functions instead of subprocesses, enable a full dry run without errors) support-files/MacOSX/StartupItem.Info.plist: - removed IFPkgFlagOverwritePermissions and IFPkgFlagUseUserMask
* - Optimized and cleaned up the Do-rpm and Bootstrap Perl scriptsunknown2003-08-192-45/+104
| | | | | | | | | | | | | | | | | | | - Enhanced Do-rpm to support building RPMs with different compilers and options Build-tools/Bootstrap: - small optimization (use builtin Perl cwd() function instead of running "pwd" twice) Build-tools/Do-rpm: - added options to handle different compilers and compile flags (e.g. when compiling on IA64 using the Intel ecc compiler) - code cleanups (use more builtin Perl functions instead of forking subrocesses) - don't try to probe various distribution-specific RPM options - query rpm directly instead - Pass the MySQL version as an argument, not an option (as it's not optional anyway)
* make_win_src_distribution.sh:unknown2003-08-131-1/+1
| | | | | | | | | | | | Add --zip option for finer grain control over what package formats are created Bootstrap: Create both Windows source packages Build-tools/Bootstrap: Create both Windows source packages scripts/make_win_src_distribution.sh: Add --zip option for finer grain control over what package formats are created
* Fixed typo in the Boostrap stripunknown2003-08-131-1/+1
| | | | | Build-tools/Bootstrap: - fixed typo
* - enabled embedded server in the binary distributions by defaultunknown2003-08-122-245/+157
| | | | | | | | | | | | | | | | | | | | | | (Do-compile) - added mysql.info to the binary distribution files (BUG#1019) - heavily reworked the Do-rpm script to be more in line with Do-pkg - create a "docs" subdirectory in the binary distribution and moved the manual, ChangeLog and mysql.info file into it to unclutter the top directory Build-tools/Do-compile: - enable compiling with the embedded server by default (as requested by BrianA) - disable it with the "--disable-embedded" compile option. Build-tools/Do-rpm: - replaced the original Shell script with a Perl script, similar to Do-pkg. Some more work remains to be done (copying the resulting packages, enable using different compile flags and compilers). scripts/make_binary_distribution.sh: - move some docs into a subdirectory "docs" to not clutter the top directory with too many files. - added mysql.info info file to the docs dir (BUG#1019)
* - added option "--pull" to be able to update the BK repositories beforeunknown2003-08-121-1/+21
| | | | | | | starting the bootstrap
* - some fixed for make_win_src_distribution to work properlyunknown2003-08-071-4/+0
| | | | | | | | | | | Build-tools/Bootstrap: - no need to create the make_win_src_distribution script in here - do it in the Makefile instead. scripts/Makefile.am: - added make_win_src_distribution to bin_SCRIPTS, so it's automatically built scripts/make_win_src_distribution.sh: - merge fixes (looks like CRLF problems)
* New option for Bootstrap: -w | --win-dist to create Windows source packageunknown2003-08-071-3/+20
| | | | | | | Build-tools/Bootstrap: Add --win-dist option to create Windows source package scripts/Makefile.am: Add make_win_src_distribution to CLEANFILES
* - fixed a typo in previous pushunknown2003-07-111-1/+2
| | | | | Build-tools/Bootstrap: - duh!
* - fixed a bug in Bootstrap script: simply searching for the last tagged unknown2003-07-111-1/+3
| | | | | | | | | | | | | | | | | ChangeSet was not sufficient to get the full ChangeLog between two released versions (when using "--changelog=last") as merging between trees also merges the BK tags. Now we explicitely search for the last tagged ChangeSet that matches our major+minor version number, which should match the last ChangeSet used for the previous release. Build-tools/Bootstrap: - fixed a bug: simply searching for the last tagged ChangeSet was not sufficient to get the full ChangeLog between two released versions (when using "--changelog=last") as merging between trees also merges the BK tags. Now we explicitely search for the last tagged ChangeSet that matches our major+minor version number, which should match the last ChangeSet used for the previous release.
* - make sure to compile with the correct --localstatedir and --libexedir unknown2003-06-301-1/+2
| | | | | | | | | paths for the binary distributions (this will hopefully resolve the "file /usr/local/mysql/libexec/mysqld doesn't exist" error that many people are facing)
* - don't add separate debug symbol file to the binary distribution, unknown2003-04-071-1/+5
| | | | | | | | if it's built with debugging enabled or not stripped (save disk space)
* - fixed typo (build_command -> build-command)unknown2003-03-251-1/+1
|
* - added new option "--build-command" to be able to use differentunknown2003-03-251-31/+45
| | | | | | | | | commands for building the sources - removed duplicate option "--revision" - added help for new option and reformatted help text a bit
* - added option "--skip-disk-image" and short form "-s" in addition to theunknown2003-03-131-7/+9
| | | | | | | | already existing "--skip-dmg" (per Monty request) - Fixed handling of license files
* - added option "--skip-dmg" to skip the building of the disk image afterunknown2003-03-031-4/+36
| | | | | | | | | | packaging - enclosed some variables in quotes for safeguarding - add a license file (GPL or MySQLEULA) to the package so it will be displayed during installation (needs to be tested)
* - Heavily reworked the Do-pkg script to use functions from logger.pmunknown2003-02-253-113/+173
| | | | | | | | | | | | | | | | | | - moved helper functions from Bootstrap script to logger.pm Build-tools/Bootstrap: - renamed logfile -> LOGFILE - moved functions abort() and run_command() to logger.pm for better reusability Build-tools/Do-pkg: - heavily reworked: now make use of the logger.pm helper functions - added new options: --dry-run, --log, --mail, --verbose Build-tools/logger.pm: - added functions run_command() and abort() from Bootstrap script for better code reusability support-files/MacOSX/postinstall.sh: - made script more robust
* - added more files to support-files/MacOSX and added them to theunknown2003-02-193-0/+622
| | | | | | | | | | | | | | | | distribution - added Bootstrap, logger.pm and Do-pkg to Build-tools: Bootstrap is used to build the source distribution for the binary builds logger.pm includes some helper functions Do-pkg converts a binary distribution into a Mac OS X PKG (still needs some polishing) support-files/MacOSX/Description.plist.sh: - Shortened IFPkgDescriptionDescription a bit support-files/MacOSX/Makefile.am: - Added more files (StartupParameters.plist, postinstall, preinstall) to distribution
* Merge sergbook.mysql.com:/usr/home/serg/Abk/mysqlunknown2003-02-101-4/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0 Build-tools/Do-compile: Auto merged bdb/dist/configure.in: Auto merged scripts/mysqlhotcopy.sh: Auto merged sql/ha_innodb.cc: Auto merged sql/sql_acl.cc: Auto merged
| * Small enhancements for Do-compile:unknown2003-02-051-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add version number to build log files (e.g. Logs/build-4.1-standard.log) - add host name and uname to Subject line of build failure mails (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed") -> Please merge with all other trees! Build-tools/Do-compile: Small enhancements: - add version number to build log files (e.g. Logs/build-4.1-standard.log) - add host name and uname to Subject line of build failure mails (e.g. "Subject: build(Linux): mysql-4.1-standard compilation failed")
| * - merge relevant Do-compile changes from 4.0 treeunknown2003-01-231-23/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - use "gnutar" on Mac OS X to build the binary distribution Build-tools/Do-compile: - merged relevevant changes from 4.0 (Options no-mysqltest, no-benchmark, log_timestamp function) scripts/make_binary_distribution.sh: - make sure to use "gnutar" (on Mac OS X) to pack up the binary distribution (Mac OS X "tar" seems to be buggy - the resulting tarballs appear to be corrupted, e.g. when opening them with Midnight Commander. GNU tar seems to extract them correctly, though)
* | - removed a redundant "-u root" (it's included in $mysqladmin_args)unknown2003-01-231-1/+1
| |
* | - removed duplicate code (merge error)unknown2003-01-221-6/+0
| |
* | Portability fixesunknown2003-01-071-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed test suite for HPUX 10.20 and MacOSX Build-tools/Do-compile: Added timeout to mysqladmin shutdown commands Kill old running mysqld started by earlier runs Removed run time warning from LD_LIBRARY_PATH client/mysqladmin.c: Return 1 if pid file isn't deleted on shutdown. Fix error message if pid file is not deleted client/mysqltest.c: Always allow --debug flag (Makes it easier to run mysql-test-run) mysql-test/mysql-test-run.sh: A lot of safety fixes. This fixes some problems with test suite for HPUX 10.20 and MacOSX sql-bench/bench-init.pl.sh: Allow tests to change time limit. sql-bench/crash-me.sh: Indentation cleanups Added DROP for a created table sql-bench/test-alter-table.sh: Added default time limit Changed test to be estimated to get down run time. Fixed that add_multi_col is detected sql-bench/test-insert.sh: Comment cleanup sql/mysql_priv.h: Removed not needed prototype. sql/mysqld.cc: Removed DBUG warnings Removed default argument for clean_up() and made it static. More comments. Ignore SIGHUP during shutdown sql/net_pkg.cc: More comments sql/slave.cc: Added DBUG_PRINT messages
* | A lot of portability fixes.unknown2003-01-051-11/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables. BUILD/SETUP.sh: Enabled uninitalized warnings for debug builds. Build-tools/Do-compile: Added options --no-mysqltest and --no-benchmarks Log time before each stage Removed warnings on some OS (at least hpux11) acinclude.m4: Fixed call to wrong function configure.in: Don't use -O3 as compiler option with aCC innobase/include/univ.i: Removed compiler warning (on Hpux11) innobase/os/os0file.c: Removed compiler warning (on Hpux11) innobase/trx/trx0sys.c: Removed compiler warning (on Hpux11) innobase/trx/trx0trx.c: Removed compiler warning (on Hpux11) innobase/ut/ut0ut.c: Removed compiler warning (with gcc) myisam/mi_check.c: Added missing 'static' myisam/mi_test1.c: Added missing 'static' mysys/my_getopt.c: Added missing 'static' sql/ha_berkeley.cc: Added rename table. This fixes a bug in ALTER TABLE with BDB tables. Fixed compilation problem on OSF1 sql/ha_berkeley.h: Added rename table. This fixes a bug in ALTER TABLE with BDB tables. sql/mini_client.cc: Added reinterpret cast to avoid some warnings. sql/sql_parse.cc: Added reinterpret cast to avoid some warnings. Removed usage of strnlen() as this gave portability problems. sql/sql_union.cc: Added reinterpret cast to avoid some warnings. sql/table.cc: Added reinterpret cast to avoid some warnings. tools/mysqlmanager.c: Added missing 'static'
* | merge with 3.23 to get bugfixes for <=> NULL and --bind-addressunknown2002-11-241-0/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build-tools/Do-compile: Auto merged mysql-test/r/func_test.result: Auto merged mysql-test/t/func_test.test: Auto merged mysql-test/t/func_time.test: Auto merged mysql-test/t/null_key.test: Auto merged mysql-test/mysql-test-run.sh: Ignore changes from 3.23 mysql-test/r/func_time.result: Update results mysql-test/r/null_key.result: Update results scripts/mysqld_safe.sh: Don't apply NICE handling change from 3.23 sql/mysqld.cc: merge sql/opt_range.cc: merge support-files/mysql.server.sh: Don't apply changes from 3.23
| * Do-compile:unknown2002-11-201-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | - applied some changes from the 4.0 tree (enable multiple --conf-environment options, add --with-debug, don't add "-max" prefix just because BDB is enabled) Build-tools/Do-compile: - applied some changes from the 4.0 tree (enable multiple --conf-environment options, add --with-debug, don't add "-max" prefix just because BDB is enabled)
| * - Do-compile: added a fast test run with dynamic-row tablesunknown2002-10-301-2/+4
| | | | | | | | | | | | | | | | | | - Do-compile: fix small (cosmetical, not critical) typo Build-tools/Do-compile: - added a fast test run with dynamic-row tables - fix small (cosmetical, not critical) typo
| * - Fix for Do-compile: Enable InnoDB to autoextend the table space ifunknown2002-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | necessary (required to actually pass the sql-bench without aborting with "table space full") Build-tools/Do-compile: - Enable InnoDB to autoextend the table space if necessary (required to actually pass the sql-bench without aborting with "table space full")
* | - "head/tail -<num>" is obsolete according to POSIX.1-2001 - useunknown2002-11-111-2/+2
| | | | | | | | | | | | | | "head/tail -n <num>" instead
* | Do-compile:unknown2002-11-081-2/+7
| | | | | | | | | | | | | | | | | | | | - added build option "--with-debug" to build unstripped binaries with debugging enabled Build-tools/Do-compile: - added build option "--with-debug" to build unstripped binaries with debugging enabled
* | Do-compile:unknown2002-11-081-6/+7
| | | | | | | | | | | | | | | | | | | | - "--config-env" can now be given more than once - don't be smart about version suffixes Build-tools/Do-compile: - "--config-env" can now be given more than once - don't be smart about version suffixes