]> git.tdb.fi Git - builder.git/log
builder.git
14 years agoChange component order so that miscellaneous installed files get in tarball 1.0
Mikko Rasa [Mon, 21 Sep 2009 19:05:24 +0000 (19:05 +0000)]
Change component order so that miscellaneous installed files get in tarball

14 years agoBump version to 1.0
Mikko Rasa [Mon, 21 Sep 2009 18:57:29 +0000 (18:57 +0000)]
Bump version to 1.0
Output version with help message

14 years agoAlso use file size to determine whether to reinstall a file
Mikko Rasa [Mon, 21 Sep 2009 16:23:33 +0000 (16:23 +0000)]
Also use file size to determine whether to reinstall a file

14 years agoImprove target names in announces
Mikko Rasa [Mon, 21 Sep 2009 16:19:49 +0000 (16:19 +0000)]
Improve target names in announces

14 years agoProperly handle default and install options for datafiles
Mikko Rasa [Mon, 21 Sep 2009 09:54:09 +0000 (09:54 +0000)]
Properly handle default and install options for datafiles

14 years agoDon't b0rk if C++ compiler is not found while trying to determine its version
Mikko Rasa [Sun, 20 Sep 2009 18:08:05 +0000 (18:08 +0000)]
Don't b0rk if C++ compiler is not found while trying to determine its version

14 years agoAdd support for building datafiles
Mikko Rasa [Sun, 20 Sep 2009 17:34:22 +0000 (17:34 +0000)]
Add support for building datafiles

14 years agoFix compile errors on 64-bit systems
Mikko Rasa [Sun, 20 Sep 2009 16:19:05 +0000 (16:19 +0000)]
Fix compile errors on 64-bit systems

14 years agoAdd install component type
Mikko Rasa [Fri, 11 Sep 2009 22:48:06 +0000 (22:48 +0000)]
Add install component type
Allow specifying a package for File

14 years agoChange the default value of the cpu option to "none" since there's no actual autodete...
Mikko Rasa [Fri, 4 Sep 2009 21:15:21 +0000 (21:15 +0000)]
Change the default value of the cpu option to "none" since there's no actual autodetection
Remove target in Archive action since ar doesn't truncate the file
Check for target existence in Copy action to avoid unnecessary exceptions

14 years agoMake bootstrap.sh more user-friendly when reporting missing libraries
Mikko Rasa [Fri, 4 Sep 2009 10:18:49 +0000 (10:18 +0000)]
Make bootstrap.sh more user-friendly when reporting missing libraries
Rewrite parts of Readme.txt

14 years agoAlways prepare cmdline to avoid some dependency hassle
Mikko Rasa [Wed, 26 Aug 2009 11:16:55 +0000 (11:16 +0000)]
Always prepare cmdline to avoid some dependency hassle
Get rid of Target::count_rebuild function
Detect cyclic dependencies
Re-enable the tarball target which accidentally got commented out earlier

14 years agoMiscellaneous minor code cleanups
Mikko Rasa [Wed, 13 May 2009 20:15:38 +0000 (20:15 +0000)]
Miscellaneous minor code cleanups

14 years agoSet PKG_CONFIG_PATH to include prefix
Mikko Rasa [Mon, 11 May 2009 20:43:21 +0000 (20:43 +0000)]
Set PKG_CONFIG_PATH to include prefix
More intelligent checking for pkg-config errors

14 years agoAdd a tarball component type
Mikko Rasa [Mon, 11 May 2009 09:51:01 +0000 (09:51 +0000)]
Add a tarball component type
Turn the default tarball target into a component
Deprecate tar_file statement from package config
Make File take an Msp::FS::Path instead of an std::string
Sort components so that targets will be created in the correct order

14 years agoUse mspio for all I/O operations
Mikko Rasa [Thu, 7 May 2009 06:08:09 +0000 (06:08 +0000)]
Use mspio for all I/O operations
Use GetOpt to generate help messages for options
Make --help work even if there's no package in cwd

14 years agoDeprecate the install_headers statement
Mikko Rasa [Tue, 5 May 2009 19:44:22 +0000 (19:44 +0000)]
Deprecate the install_headers statement
Use the headers component name as install location

15 years agoFix a problem in finding ObjectFile dependencies
Mikko Rasa [Tue, 17 Mar 2009 11:18:42 +0000 (11:18 +0000)]
Fix a problem in finding ObjectFile dependencies
Don't fail unlinking if the file didn't exist

15 years agoBugfixes
Mikko Rasa [Sat, 21 Feb 2009 14:13:45 +0000 (14:13 +0000)]
Bugfixes

15 years agoRework the Target class hierarchy
Mikko Rasa [Sat, 21 Feb 2009 00:45:50 +0000 (00:45 +0000)]
Rework the Target class hierarchy
- Introduce FileTarget and move the stat call there
- More senseful relationships between executable and library targets
- Some related minor cleanups

15 years agoReorder class members
Mikko Rasa [Thu, 19 Feb 2009 16:43:37 +0000 (16:43 +0000)]
Reorder class members
Put all function documentation comments to headers
Update copyright notices

15 years agoFix some usages of get_current_arch() inside Builder
Mikko Rasa [Thu, 19 Feb 2009 08:22:21 +0000 (08:22 +0000)]
Fix some usages of get_current_arch() inside Builder
Fix a mistake in Readme.txt
Remove the binary package for ODE since it provides a .pc file now

15 years agoConvert all fstreams to IO::Files
Mikko Rasa [Sun, 17 Aug 2008 10:08:04 +0000 (10:08 +0000)]
Convert all fstreams to IO::Files

15 years agoDrop the .cache suffix when saving config too
Mikko Rasa [Sun, 17 Aug 2008 07:44:57 +0000 (07:44 +0000)]
Drop the .cache suffix when saving config too

15 years agoUse IO::BufferedFile where appropriate
Mikko Rasa [Sat, 16 Aug 2008 10:17:48 +0000 (10:17 +0000)]
Use IO::BufferedFile where appropriate

15 years agoLoad builderrc from sys_data_dir to avoid the need of copying it to $HOME
Mikko Rasa [Sat, 16 Aug 2008 08:21:21 +0000 (08:21 +0000)]
Load builderrc from sys_data_dir to avoid the need of copying it to $HOME
Do not incorporate the from path in include hash for <> includes
Fix an error with C++ include path construction
Use package-relative filenames for storing dependencies
Detect if dependencies are ot found in deps cache and find them

15 years agoRefactor arch handling a bit
Mikko Rasa [Fri, 15 Aug 2008 21:26:11 +0000 (21:26 +0000)]
Refactor arch handling a bit
Add detection of native arch name

15 years agoAdd some output to get_package_source
Mikko Rasa [Fri, 15 Aug 2008 18:14:03 +0000 (18:14 +0000)]
Add some output to get_package_source
Redirect stderr to /dev/null in run_command

15 years agoMake bootstrap.sh more POSIX compliant
Mikko Rasa [Fri, 15 Aug 2008 17:49:19 +0000 (17:49 +0000)]
Make bootstrap.sh more POSIX compliant

15 years agoImprove automatic package finding to detect directories with version number 0.9
Mikko Rasa [Wed, 13 Aug 2008 05:02:01 +0000 (05:02 +0000)]
Improve automatic package finding to detect directories with version number
Make bootstrap.sh recognize libs as extracted from tarballs

15 years agoSome additions to Readme.txt
Mikko Rasa [Sun, 10 Aug 2008 14:00:49 +0000 (14:00 +0000)]
Some additions to Readme.txt

15 years agoMake sure we have libpaths for all static libs
Mikko Rasa [Sun, 10 Aug 2008 13:46:27 +0000 (13:46 +0000)]
Make sure we have libpaths for all static libs

15 years agoBump version number to 0.9
Mikko Rasa [Fri, 8 Aug 2008 12:51:53 +0000 (12:51 +0000)]
Bump version number to 0.9
Add License.txt and a license section to Readme.txt
Add a section about using Builder to Readme.txt

15 years agoUpdate bootstrap.sh and Readme.txt to reflect the msppath -> mspfs transition
Mikko Rasa [Fri, 8 Aug 2008 09:51:21 +0000 (09:51 +0000)]
Update bootstrap.sh and Readme.txt to reflect the msppath -> mspfs transition
Drop the .cache suffix from certain files
Clean up svn:ignore a bit

15 years agoPut output files for foreign archs in their own directories
Mikko Rasa [Fri, 8 Aug 2008 08:59:12 +0000 (08:59 +0000)]
Put output files for foreign archs in their own directories

15 years agoMigrate from msppath to mspfs
Mikko Rasa [Thu, 7 Aug 2008 05:48:35 +0000 (05:48 +0000)]
Migrate from msppath to mspfs
New way of using custom loaders

15 years agoMake warnings configurable through build_info and command line
Mikko Rasa [Wed, 11 Jun 2008 14:46:05 +0000 (14:46 +0000)]
Make warnings configurable through build_info and command line
Some minor fixes

15 years agoAdd missing includes
Mikko Rasa [Tue, 10 Jun 2008 13:17:22 +0000 (13:17 +0000)]
Add missing includes
Fix style warnings from gcc 4.3
Disable -Wconversion since it causes too much trouble with gcc 4.3

15 years agoInclude libmode in library lookup hash
Mikko Rasa [Thu, 29 May 2008 00:27:08 +0000 (00:27 +0000)]
Include libmode in library lookup hash
Redesign Target::build
Always remove target before rebuilding to avoid trouble with ar

15 years agoUse package directory as work dir for ExternalActions and make filename arguments...
Mikko Rasa [Tue, 20 May 2008 12:02:55 +0000 (12:02 +0000)]
Use package directory as work dir for ExternalActions and make filename arguments relative to it
Do not use static libraries when linking dynamic ones

16 years agoChange arch and prefix to global options
Mikko Rasa [Thu, 13 Mar 2008 20:14:25 +0000 (20:14 +0000)]
Change arch and prefix to global options

16 years agoOne more exception fix
Mikko Rasa [Mon, 3 Mar 2008 17:51:44 +0000 (17:51 +0000)]
One more exception fix

16 years agoException handling fixes
Mikko Rasa [Thu, 7 Feb 2008 15:38:09 +0000 (15:38 +0000)]
Exception handling fixes

16 years agoConverted from iostreams to mspio
Mikko Rasa [Thu, 7 Feb 2008 15:24:17 +0000 (15:24 +0000)]
Converted from iostreams to mspio

16 years agoAdded io to the required libs in bootstrap.sh
Mikko Rasa [Thu, 7 Feb 2008 15:10:54 +0000 (15:10 +0000)]
Added io to the required libs in bootstrap.sh

16 years agoSome fixes to library and header searching
Mikko Rasa [Thu, 7 Feb 2008 15:08:25 +0000 (15:08 +0000)]
Some fixes to library and header searching
Update readme with new requirements

16 years agoFix include and library search order
Mikko Rasa [Tue, 30 Oct 2007 14:43:25 +0000 (14:43 +0000)]
Fix include and library search order
Fix some header names
Add binary package for DevIL

16 years agoImprove Builder::get_header
Mikko Rasa [Sat, 22 Sep 2007 13:43:48 +0000 (13:43 +0000)]
Improve Builder::get_header
Move problem reporting later so --analyze can be used even if there are problems
Do not crash on missing requires in a condition
Make include and library paths in components absolute by using package source path

16 years agoUpdate bootstrap.sh
Mikko Rasa [Sat, 22 Sep 2007 12:01:54 +0000 (12:01 +0000)]
Update bootstrap.sh

16 years agoAdapt to changes in msppath
Mikko Rasa [Sat, 22 Sep 2007 11:41:32 +0000 (11:41 +0000)]
Adapt to changes in msppath
Some more output for -vvv
Add binary package for ODE

16 years agoReplace the chrome mode with a more useful progress display
Mikko Rasa [Mon, 17 Sep 2007 12:55:54 +0000 (12:55 +0000)]
Replace the chrome mode with a more useful progress display
Getopt::get_args now returns a vector
Use build info from conditions again

16 years agoMove architecture information from Builder to class Architecture
Mikko Rasa [Tue, 11 Sep 2007 18:36:03 +0000 (18:36 +0000)]
Move architecture information from Builder to class Architecture
Add problem.h

16 years agoRevamp problem reporting system to be more useful
Mikko Rasa [Tue, 11 Sep 2007 05:38:44 +0000 (05:38 +0000)]
Revamp problem reporting system to be more useful
Rename default_pkg to main_pkg in Builder

16 years agoRefactor code to get rid of class PackageRef
Mikko Rasa [Mon, 10 Sep 2007 15:15:49 +0000 (15:15 +0000)]
Refactor code to get rid of class PackageRef

16 years agoSplit class Package into SourcePackage and BinaryPackage
Mikko Rasa [Sun, 9 Sep 2007 10:10:29 +0000 (10:10 +0000)]
Split class Package into SourcePackage and BinaryPackage
Load vertain data from a builderrc file

16 years agoAdd DependencyCache to speed up build preparation
Mikko Rasa [Thu, 23 Aug 2007 17:18:24 +0000 (17:18 +0000)]
Add DependencyCache to speed up build preparation

16 years agoChange mspparser -> mspdatafile
Mikko Rasa [Thu, 23 Aug 2007 17:14:32 +0000 (17:14 +0000)]
Change mspparser -> mspdatafile

16 years agoAdd class InternalAction for actions that use a thread to do their work
Mikko Rasa [Fri, 17 Aug 2007 17:15:04 +0000 (17:15 +0000)]
Add class InternalAction for actions that use a thread to do their work
Derive Copy and Tar actions from InternalAction
Add bootstrap.sh and Readme.txt as tar_files

16 years agoAdd tarball building
Mikko Rasa [Fri, 17 Aug 2007 15:55:04 +0000 (15:55 +0000)]
Add tarball building

16 years agoAdd Id tag to all files
Mikko Rasa [Wed, 15 Aug 2007 09:48:30 +0000 (09:48 +0000)]
Add Id tag to all files

16 years agoMove the logic for creating targets into the Component class
Mikko Rasa [Wed, 15 Aug 2007 09:40:23 +0000 (09:40 +0000)]
Move the logic for creating targets into the Component class
Make Install target figure out the installation path by itself
Add targets to Builder automatically from Target constructor

16 years agoAdd an option to component to specify whether or not it should be built by default
Mikko Rasa [Fri, 10 Aug 2007 19:50:21 +0000 (19:50 +0000)]
Add an option to component to specify whether or not it should be built by default
Handle building world properly

16 years agoAdd a short section about using Builder to Readme.txt
Mikko Rasa [Fri, 10 Aug 2007 18:59:42 +0000 (18:59 +0000)]
Add a short section about using Builder to Readme.txt

16 years agoUpdate svn:ignore
Mikko Rasa [Sun, 15 Jul 2007 10:31:53 +0000 (10:31 +0000)]
Update svn:ignore

16 years agoCorrect getopt include
Mikko Rasa [Tue, 12 Jun 2007 18:49:02 +0000 (18:49 +0000)]
Correct getopt include
Update dependencies in Readme

16 years agoAdjust requires to library changes
Mikko Rasa [Tue, 12 Jun 2007 18:35:12 +0000 (18:35 +0000)]
Adjust requires to library changes
Get rid of msp/algo.h
Add support for features and conditionals
Fix static library ordering
Implement cleaning
Use arch in finding system headers and libraries
Only put cflags, incpath and defines in export_binfo

17 years agoAdd profile templates
Mikko Rasa [Thu, 29 Mar 2007 09:46:05 +0000 (09:46 +0000)]
Add profile templates
Use .exe and .dll suffixes on win32
Add support for variable references in config options
Don't save current profile if --dry-run was specified

17 years agoAdd basic support for tools (not configurable yet)
Mikko Rasa [Tue, 27 Mar 2007 16:53:31 +0000 (16:53 +0000)]
Add basic support for tools (not configurable yet)
Fix several uninitialized variables

17 years agoSupport building modular programs
Mikko Rasa [Wed, 7 Mar 2007 20:21:58 +0000 (20:21 +0000)]
Support building modular programs

17 years agoDon't throw up if a package doesn't install anything
Mikko Rasa [Mon, 12 Feb 2007 09:58:50 +0000 (09:58 +0000)]
Don't throw up if a package doesn't install anything

17 years agoBetter encapsulation of config inside Package
Mikko Rasa [Fri, 19 Jan 2007 13:42:50 +0000 (13:42 +0000)]
Better encapsulation of config inside Package
Support for cross-compiling
Support for multiple configuration profiles per package
Give a clear indication of build failure
Report problems with packages in a more generic manner

17 years agoConvert to the rewritten getopt++
Mikko Rasa [Fri, 24 Nov 2006 14:49:44 +0000 (14:49 +0000)]
Convert to the rewritten getopt++

17 years agoCompatibility with previous change in mspcore
Mikko Rasa [Fri, 17 Nov 2006 23:16:21 +0000 (23:16 +0000)]
Compatibility with previous change in mspcore

17 years ago... and remove the debugging cout
Mikko Rasa [Thu, 16 Nov 2006 23:07:30 +0000 (23:07 +0000)]
... and remove the debugging cout

17 years agoBugfix
Mikko Rasa [Thu, 16 Nov 2006 23:06:37 +0000 (23:06 +0000)]
Bugfix

17 years agoSupport for creating .pc files
Mikko Rasa [Thu, 16 Nov 2006 22:29:02 +0000 (22:29 +0000)]
Support for creating .pc files

17 years agoRefactor package configuration
Mikko Rasa [Thu, 16 Nov 2006 19:58:57 +0000 (19:58 +0000)]
Refactor package configuration
Add --conf-only
Only add xxx_path options for packages that need a path
Add support for using static libraries
Look for library target in the standard paths
Actually put stuff into the include and library caches
Some more comments and cleanup

17 years agoAdd comments
Mikko Rasa [Tue, 14 Nov 2006 21:39:43 +0000 (21:39 +0000)]
Add comments

17 years agoCode reorganizing and cleanup
Mikko Rasa [Tue, 14 Nov 2006 00:05:34 +0000 (00:05 +0000)]
Code reorganizing and cleanup

17 years agoSupport building static libraries (but not using them yet)
Mikko Rasa [Tue, 31 Oct 2006 01:53:40 +0000 (01:53 +0000)]
Support building static libraries (but not using them yet)
Separate class SharedLibrary (almost no-op)
Eliminate redundant Component parameter from Link

17 years agoImplement help
Mikko Rasa [Fri, 20 Oct 2006 15:29:06 +0000 (15:29 +0000)]
Implement help
Support for package paths (for non-pkgconfig packages)

17 years agoMake sure to use absolute paths when looking for headers/libraries
Mikko Rasa [Wed, 18 Oct 2006 18:05:09 +0000 (18:05 +0000)]
Make sure to use absolute paths when looking for headers/libraries

17 years agoImplement --build-all
Mikko Rasa [Wed, 18 Oct 2006 10:24:25 +0000 (10:24 +0000)]
Implement --build-all
Don't count virtual targets when reporting the number of targets to be built
Make the Copy action behave correctly in a dry run
Report the number of out-of-date targets per package with --verbose

17 years agoAdd missing includes
Mikko Rasa [Tue, 17 Oct 2006 22:40:40 +0000 (22:40 +0000)]
Add missing includes

17 years agoChange conf_all into a normal commandline option
Mikko Rasa [Tue, 17 Oct 2006 20:51:51 +0000 (20:51 +0000)]
Change conf_all into a normal commandline option

17 years agoAllow requirements for components
Mikko Rasa [Sat, 30 Sep 2006 19:59:37 +0000 (19:59 +0000)]
Allow requirements for components
Use include path from component instead of package when resolving ObjectFile dependencies

17 years agoPass -DDEBUG when doing a debug build
Mikko Rasa [Fri, 29 Sep 2006 19:56:57 +0000 (19:56 +0000)]
Pass -DDEBUG when doing a debug build

17 years agoMove class PackageRef to its own files
Mikko Rasa [Mon, 25 Sep 2006 10:58:41 +0000 (10:58 +0000)]
Move class PackageRef to its own files
Implement --dry-run
Add support for alternate build files (--file)
Implement --what-if for a single target
Change default behavior to be no build when analyzing and implement --build to override this
Hash the search paths for get_header and get_library
Add conf_all option
Make bootstrap.sh canonicalize library path

17 years agoSupport custom build info
Mikko Rasa [Mon, 18 Sep 2006 22:08:52 +0000 (22:08 +0000)]
Support custom build info
Support single source files

17 years agoAdd gmpxx package
Mikko Rasa [Sat, 16 Sep 2006 11:46:47 +0000 (11:46 +0000)]
Add gmpxx package
Support custom cflags
Use basenames for Install rebuild reasons

17 years agoInitialize Component::install to false
Mikko Rasa [Mon, 4 Sep 2006 16:12:59 +0000 (16:12 +0000)]
Initialize Component::install to false
Don't throw for packages with no installable components
Don't create spurious symlinks in bootstrap.sh

17 years agoCreate destination path in Copy instead of source path
Mikko Rasa [Sun, 3 Sep 2006 20:50:01 +0000 (20:50 +0000)]
Create destination path in Copy instead of source path
Initialize Copy::Worker::error to false

17 years agoMake Copy generate verbose output and return errors
Mikko Rasa [Sun, 3 Sep 2006 19:26:53 +0000 (19:26 +0000)]
Make Copy generate verbose output and return errors
Make bootstrap.sh search for libs in ..

17 years agoDon't put nulls into the new packages queue
Mikko Rasa [Sun, 3 Sep 2006 19:06:28 +0000 (19:06 +0000)]
Don't put nulls into the new packages queue
Improve algorithm for checking missing packages

17 years agoFix == -> =
Mikko Rasa [Sun, 3 Sep 2006 18:51:50 +0000 (18:51 +0000)]
Fix == -> =

17 years agoProcess ObjectFile dependencies correctly even when it's processed before some header...
Mikko Rasa [Sat, 2 Sep 2006 14:29:09 +0000 (14:29 +0000)]
Process ObjectFile dependencies correctly even when it's processed before some headers it depends on
Show all dependencies with -a alldeps

17 years agoPackage configuration is cached
Mikko Rasa [Fri, 1 Sep 2006 21:44:35 +0000 (21:44 +0000)]
Package configuration is cached
Correct behavior with build errors when jobs>1

17 years agoAdd command line options (not all of them work yet)
Mikko Rasa [Thu, 31 Aug 2006 14:03:51 +0000 (14:03 +0000)]
Add command line options (not all of them work yet)
Make object files depend on all included headers
Support multiple source directories per component
Support installing files
Make executables depend on all required libraries
Add analyzer
Enhance and clean up normal output
Support parallel builds
Add component type headers
Add bootstrap.sh for initial build
Add Readme.txt

17 years agoOutput cleanup
Mikko Rasa [Sun, 27 Aug 2006 22:10:00 +0000 (22:10 +0000)]
Output cleanup
Support configuration (no caching yet)

17 years agoBuilder can build itself now.
Mikko Rasa [Sun, 27 Aug 2006 21:09:00 +0000 (21:09 +0000)]
Builder can build itself now.