]>
git.tdb.fi Git - builder.git/log
Mikko Rasa [Fri, 8 Jun 2012 07:12:55 +0000 (10:12 +0300)]
Add a method to query the existence of dependencies in cache
Mikko Rasa [Thu, 7 Jun 2012 19:47:21 +0000 (22:47 +0300)]
Use stat to determine file existence
Mikko Rasa [Wed, 30 May 2012 19:43:05 +0000 (19:43 +0000)]
Remove unnecessary includes
Mikko Rasa [Wed, 30 May 2012 19:31:44 +0000 (19:31 +0000)]
Remove the now-obsolete run_command function
Mikko Rasa [Wed, 30 May 2012 19:29:33 +0000 (19:29 +0000)]
Use ExternalTask rather than run_command for running pkg-config
Mikko Rasa [Wed, 30 May 2012 19:28:12 +0000 (19:28 +0000)]
Add support for capturing output in ExternalTask
Mikko Rasa [Wed, 30 May 2012 19:23:20 +0000 (19:23 +0000)]
Use a unique exit_code value to indicate fork failure
Mikko Rasa [Wed, 30 May 2012 19:12:24 +0000 (19:12 +0000)]
Rename PkgConfig to PkgConfigFile
Mikko Rasa [Wed, 30 May 2012 19:11:25 +0000 (19:11 +0000)]
Properly generate the install target for .pc files
Mikko Rasa [Wed, 30 May 2012 19:07:58 +0000 (19:07 +0000)]
Set success status at the end of PkgConfigGenerator's worker
Mikko Rasa [Thu, 10 May 2012 21:21:25 +0000 (00:21 +0300)]
Print out the commands at the appropriate verbosity level
Mikko Rasa [Thu, 10 May 2012 21:20:33 +0000 (00:20 +0300)]
Give tasks the ability to return the relevant shell command
Mikko Rasa [Thu, 10 May 2012 21:20:07 +0000 (00:20 +0300)]
Restore --dry-run functionality
Mikko Rasa [Thu, 10 May 2012 21:19:35 +0000 (00:19 +0300)]
Don't start tasks automatically upon creation
Mikko Rasa [Thu, 10 May 2012 21:17:10 +0000 (00:17 +0300)]
Add missing headers
Mikko Rasa [Thu, 10 May 2012 21:15:35 +0000 (00:15 +0300)]
Don't try to unlink nonexistent files
Mikko Rasa [Thu, 10 May 2012 21:15:12 +0000 (00:15 +0300)]
Add virtual destructor to Tool to avoid a warning
Mikko Rasa [Thu, 10 May 2012 21:13:40 +0000 (00:13 +0300)]
Emit signal_finished from InternalTask
Mikko Rasa [Wed, 9 May 2012 21:00:35 +0000 (00:00 +0300)]
Clean up output since target names now include the package name
Mikko Rasa [Wed, 9 May 2012 16:27:46 +0000 (19:27 +0300)]
Use tool tag to detect C++ files rather than a specific tool class
Mikko Rasa [Wed, 9 May 2012 16:27:34 +0000 (19:27 +0300)]
Disallow empty rebuild reason
Mikko Rasa [Wed, 9 May 2012 16:22:08 +0000 (19:22 +0300)]
These checks are unnecessary with the separate symlink target gone
Mikko Rasa [Wed, 9 May 2012 16:21:08 +0000 (19:21 +0300)]
Add a missing header and remove an unnecessary one
Mikko Rasa [Wed, 9 May 2012 15:43:47 +0000 (18:43 +0300)]
Do dependency discovery in a single pass
Mikko Rasa [Sun, 6 May 2012 21:06:42 +0000 (00:06 +0300)]
Unify some aspects of constructor helper functions
Mikko Rasa [Sun, 6 May 2012 21:02:32 +0000 (00:02 +0300)]
Move soname generation to constructor
Mikko Rasa [Sun, 6 May 2012 11:48:46 +0000 (14:48 +0300)]
Split Binary filename generation to Executable and SharedLibrary
Use architecture patterns to generate executable and library names
Mikko Rasa [Sun, 6 May 2012 11:25:11 +0000 (14:25 +0300)]
Get rid of the Library and SystemLibrary classes as unnecessary abstractions
Mikko Rasa [Sun, 6 May 2012 11:00:07 +0000 (14:00 +0300)]
Move the Component reference to Target and make it a pointer
Remove Package pointer from Target constructor
Mikko Rasa [Fri, 4 May 2012 19:15:45 +0000 (22:15 +0300)]
Move some install location assignments to more logical places
Mikko Rasa [Fri, 4 May 2012 18:14:29 +0000 (21:14 +0300)]
Tool names are no longer retrieved from Architecture
Mikko Rasa [Fri, 4 May 2012 18:10:47 +0000 (21:10 +0300)]
Have Architecture provide pattern lists for library and executable filenames
Mikko Rasa [Tue, 1 May 2012 11:22:09 +0000 (14:22 +0300)]
Consolidate various target state variables into a single state
Mikko Rasa [Tue, 1 May 2012 11:19:43 +0000 (14:19 +0300)]
Rename Target::get_rebuild to needs_rebuild
Mikko Rasa [Tue, 1 May 2012 10:05:57 +0000 (13:05 +0300)]
Move C-specific stuff from SourceFile to CSourceFile
Mikko Rasa [Tue, 1 May 2012 08:33:42 +0000 (11:33 +0300)]
Remove the buildable flag and instead check for tool being non-null
Mikko Rasa [Tue, 1 May 2012 08:18:21 +0000 (11:18 +0300)]
Get rid of separate header targets which serve no useful purpose
Mikko Rasa [Mon, 30 Apr 2012 11:47:34 +0000 (14:47 +0300)]
Simplify InstalledFile::generate_target_path
Mikko Rasa [Mon, 30 Apr 2012 08:25:50 +0000 (11:25 +0300)]
Better use of OOP in determining file install locations
Mikko Rasa [Fri, 27 Apr 2012 18:04:23 +0000 (21:04 +0300)]
Rewrite BuildInfo to be compiler-agnostic
Mikko Rasa [Fri, 27 Apr 2012 18:03:11 +0000 (21:03 +0300)]
Make BuildInfo able to handle chained dependencies
Mikko Rasa [Sat, 21 Apr 2012 19:33:34 +0000 (22:33 +0300)]
Derive BuildInfo::Loader from ObjectLoader
Mikko Rasa [Sat, 21 Apr 2012 18:24:46 +0000 (21:24 +0300)]
Drop some deprecated datafile statements from Component
Mikko Rasa [Sat, 21 Apr 2012 18:19:48 +0000 (21:19 +0300)]
Let the tools deal with cross-compiling flags
Mikko Rasa [Sat, 21 Apr 2012 18:05:39 +0000 (21:05 +0300)]
Rename BuildInfo::add to update_from
Mikko Rasa [Fri, 13 Apr 2012 16:54:47 +0000 (19:54 +0300)]
Rename Install to InstalledFile
Mikko Rasa [Fri, 13 Apr 2012 16:47:23 +0000 (19:47 +0300)]
Rewrite ObjectFile dependency finding so it doesn't depend on includes
Mikko Rasa [Wed, 11 Apr 2012 18:39:21 +0000 (21:39 +0300)]
Get rid of the global TargetList typedef
Mikko Rasa [Tue, 10 Apr 2012 15:07:22 +0000 (18:07 +0300)]
Move file-to-target mapping to a separate class
Mikko Rasa [Sun, 8 Apr 2012 16:11:29 +0000 (19:11 +0300)]
Big rewrite for a more tool-centric approach
Mikko Rasa [Sun, 8 Apr 2012 16:19:10 +0000 (19:19 +0300)]
Add .gitignore file
Mikko Rasa [Sat, 31 Mar 2012 10:51:58 +0000 (13:51 +0300)]
Remove a useless path-to-string conversion
Mikko Rasa [Sat, 31 Mar 2012 10:51:23 +0000 (13:51 +0300)]
Make symlink a feature of the Install target rather than a target on its own
Mikko Rasa [Sat, 31 Mar 2012 10:47:28 +0000 (13:47 +0300)]
Improve file target naming
Mikko Rasa [Sat, 31 Mar 2012 10:46:47 +0000 (13:46 +0300)]
Fix an incorrect assumption of target name being the basename of its path
Mikko Rasa [Fri, 30 Mar 2012 19:21:39 +0000 (22:21 +0300)]
Add a separate set of functions for registering and looking up targets by path
Mikko Rasa [Fri, 30 Mar 2012 18:00:52 +0000 (21:00 +0300)]
Move the TargetMap typedef inside Builder
Mikko Rasa [Fri, 24 Feb 2012 09:55:21 +0000 (11:55 +0200)]
Replace per-file copyright notices with a single file
Mikko Rasa [Mon, 19 Sep 2011 09:07:07 +0000 (09:07 +0000)]
Detect multiarch in bootstrap.sh as well
Mikko Rasa [Fri, 16 Sep 2011 20:24:53 +0000 (20:24 +0000)]
Rudimentary support for Debian/Ubuntu multiarch library locations
Mikko Rasa [Tue, 6 Sep 2011 11:47:24 +0000 (11:47 +0000)]
Further changes for library compatibility
Mikko Rasa [Thu, 1 Sep 2011 06:13:16 +0000 (06:13 +0000)]
Adjust to library changes
Avoid conflict with multiple files with same name
Mikko Rasa [Wed, 25 May 2011 07:38:10 +0000 (07:38 +0000)]
Add a binary package for OpenGL ES
Mikko Rasa [Wed, 25 May 2011 07:38:00 +0000 (07:38 +0000)]
Fix a bug in condition evaluation
Mikko Rasa [Thu, 20 Jan 2011 08:26:24 +0000 (08:26 +0000)]
Deprecate the modular keyword for programs and host keyword for modules
Mikko Rasa [Wed, 19 Jan 2011 14:14:33 +0000 (14:14 +0000)]
Move variable expansion from Config to SourcePackage
Allow variables to be used in component sources
Mikko Rasa [Fri, 12 Nov 2010 20:30:55 +0000 (20:30 +0000)]
Fix rebuild graph walking over symlinks
Allow non-numeric optimize levels (for -Os)
Don't create symlinks for shlibs without soname
Mikko Rasa [Sat, 7 Aug 2010 00:31:08 +0000 (00:31 +0000)]
Add an alias for x86_64
Make symlinks depend on the link target
Mikko Rasa [Sun, 21 Feb 2010 13:10:56 +0000 (13:10 +0000)]
Install shared libs correctly even if they have no soname
Mikko Rasa [Thu, 11 Feb 2010 08:22:40 +0000 (08:22 +0000)]
Don't segfault on missing packages
Mikko Rasa [Thu, 11 Feb 2010 07:55:17 +0000 (07:55 +0000)]
Use ${prefix} in .pc files
Mikko Rasa [Wed, 10 Feb 2010 14:46:45 +0000 (14:46 +0000)]
Fix Condition to handle booleans properly
Mikko Rasa [Wed, 10 Feb 2010 14:18:12 +0000 (14:18 +0000)]
Various fixes to package dependency and build info handling
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
Mikko Rasa [Sat, 6 Feb 2010 07:31:38 +0000 (07:31 +0000)]
Add --no-externals option
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
Mikko Rasa [Fri, 5 Feb 2010 12:00:29 +0000 (12:00 +0000)]
Move some file-related things from Target to FileTarget
Mikko Rasa [Fri, 5 Feb 2010 11:44:30 +0000 (11:44 +0000)]
Implement rdeps mode and sorting in Analyzer
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
Mikko Rasa [Fri, 5 Feb 2010 09:33:19 +0000 (09:33 +0000)]
Cosmetic fixes to some options
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
Mikko Rasa [Thu, 3 Dec 2009 09:03:56 +0000 (09:03 +0000)]
Style update: add spaces around assignment operators
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
Mikko Rasa [Thu, 3 Dec 2009 08:12:08 +0000 (08:12 +0000)]
Compile libraries with -fPIC
Update arm tool prefix
Mikko Rasa [Mon, 21 Sep 2009 19:05:24 +0000 (19:05 +0000)]
Change component order so that miscellaneous installed files get in tarball
Mikko Rasa [Mon, 21 Sep 2009 18:57:29 +0000 (18:57 +0000)]
Bump version to 1.0
Output version with help message
Mikko Rasa [Mon, 21 Sep 2009 16:23:33 +0000 (16:23 +0000)]
Also use file size to determine whether to reinstall a file
Mikko Rasa [Mon, 21 Sep 2009 16:19:49 +0000 (16:19 +0000)]
Improve target names in announces
Mikko Rasa [Mon, 21 Sep 2009 09:54:09 +0000 (09:54 +0000)]
Properly handle default and install options for datafiles
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
Mikko Rasa [Sun, 20 Sep 2009 17:34:22 +0000 (17:34 +0000)]
Add support for building datafiles
Mikko Rasa [Sun, 20 Sep 2009 16:19:05 +0000 (16:19 +0000)]
Fix compile errors on 64-bit systems
Mikko Rasa [Fri, 11 Sep 2009 22:48:06 +0000 (22:48 +0000)]
Add install component type
Allow specifying a package for File
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
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
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
Mikko Rasa [Wed, 13 May 2009 20:15:38 +0000 (20:15 +0000)]
Miscellaneous minor code cleanups
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
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
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