]> git.tdb.fi Git - builder.git/log
builder.git
14 years agoAdd a generic internal alias system to Architecture
Mikko Rasa [Mon, 8 Feb 2010 09:53:22 +0000 (09:53 +0000)]
Add a generic internal alias system to Architecture
Avoid breaking packages that compare arch against win32

14 years agoAdd --no-externals option
Mikko Rasa [Sat, 6 Feb 2010 07:31:38 +0000 (07:31 +0000)]
Add --no-externals option

14 years agoAdd Symlink target and associated action
Mikko Rasa [Fri, 5 Feb 2010 21:33:49 +0000 (21:33 +0000)]
Add Symlink target and associated action
More generic mechanism for figuring out real targets behind proxies
Give the -soname option to linker when appropriate
Install libraries with versioned names

14 years agoMove some file-related things from Target to FileTarget
Mikko Rasa [Fri, 5 Feb 2010 12:00:29 +0000 (12:00 +0000)]
Move some file-related things from Target to FileTarget

14 years agoImplement rdeps mode and sorting in Analyzer
Mikko Rasa [Fri, 5 Feb 2010 11:44:30 +0000 (11:44 +0000)]
Implement rdeps mode and sorting in Analyzer

14 years agoMake the name of a FileTarget be its basename instead of full path
Mikko Rasa [Fri, 5 Feb 2010 10:35:21 +0000 (10:35 +0000)]
Make the name of a FileTarget be its basename instead of full path

14 years agoCosmetic fixes to some options
Mikko Rasa [Fri, 5 Feb 2010 09:33:19 +0000 (09:33 +0000)]
Cosmetic fixes to some options

14 years agoRewrite the architecture system
Mikko Rasa [Fri, 5 Feb 2010 09:23:05 +0000 (09:23 +0000)]
Rewrite the architecture system
CPU is now be specified as a part of the architecture
Cross-compiling between 32/64-bit variants is supported

14 years agoStyle update: add spaces around assignment operators
Mikko Rasa [Thu, 3 Dec 2009 09:03:56 +0000 (09:03 +0000)]
Style update: add spaces around assignment operators

14 years agoSupport default values for features
Mikko Rasa [Thu, 3 Dec 2009 08:31:27 +0000 (08:31 +0000)]
Support default values for features
Use textual values for features rather than numeric

14 years agoCompile libraries with -fPIC
Mikko Rasa [Thu, 3 Dec 2009 08:12:08 +0000 (08:12 +0000)]
Compile libraries with -fPIC
Update arm tool prefix

15 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

15 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

15 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

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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

17 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

17 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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

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

17 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

17 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

17 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

17 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

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

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

17 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

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

18 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

18 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

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

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

18 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

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

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

18 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

18 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)

18 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

18 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

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

18 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

18 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

18 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

18 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

18 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