]> git.tdb.fi Git - builder.git/log
builder.git
11 years agoDon't pass including file location to find_header
Mikko Rasa [Fri, 8 Jun 2012 22:45:04 +0000 (01:45 +0300)]
Don't pass including file location to find_header

11 years agoEarly check for file existence to avoid exception handling
Mikko Rasa [Fri, 8 Jun 2012 07:38:52 +0000 (10:38 +0300)]
Early check for file existence to avoid exception handling

11 years agoAllow omitting workdir in ExternalTask constructor call
Mikko Rasa [Fri, 8 Jun 2012 07:30:05 +0000 (10:30 +0300)]
Allow omitting workdir in ExternalTask constructor call

11 years agoUse a typedef for ExternalTask arguments
Mikko Rasa [Fri, 8 Jun 2012 07:25:14 +0000 (10:25 +0300)]
Use a typedef for ExternalTask arguments

11 years agoCheck the existence of dependencies beforehand rather than catching the exception
Mikko Rasa [Fri, 8 Jun 2012 07:22:07 +0000 (10:22 +0300)]
Check the existence of dependencies beforehand rather than catching the exception

11 years agoAdd a method to query the existence of dependencies in cache
Mikko Rasa [Fri, 8 Jun 2012 07:12:55 +0000 (10:12 +0300)]
Add a method to query the existence of dependencies in cache

11 years agoUse stat to determine file existence
Mikko Rasa [Thu, 7 Jun 2012 19:47:21 +0000 (22:47 +0300)]
Use stat to determine file existence

11 years agoRemove unnecessary includes
Mikko Rasa [Wed, 30 May 2012 19:43:05 +0000 (19:43 +0000)]
Remove unnecessary includes

11 years agoRemove the now-obsolete run_command function
Mikko Rasa [Wed, 30 May 2012 19:31:44 +0000 (19:31 +0000)]
Remove the now-obsolete run_command function

11 years agoUse ExternalTask rather than run_command for running pkg-config
Mikko Rasa [Wed, 30 May 2012 19:29:33 +0000 (19:29 +0000)]
Use ExternalTask rather than run_command for running pkg-config

11 years agoAdd support for capturing output in ExternalTask
Mikko Rasa [Wed, 30 May 2012 19:28:12 +0000 (19:28 +0000)]
Add support for capturing output in ExternalTask

11 years agoUse a unique exit_code value to indicate fork failure
Mikko Rasa [Wed, 30 May 2012 19:23:20 +0000 (19:23 +0000)]
Use a unique exit_code value to indicate fork failure

11 years agoRename PkgConfig to PkgConfigFile
Mikko Rasa [Wed, 30 May 2012 19:12:24 +0000 (19:12 +0000)]
Rename PkgConfig to PkgConfigFile

11 years agoProperly generate the install target for .pc files
Mikko Rasa [Wed, 30 May 2012 19:11:25 +0000 (19:11 +0000)]
Properly generate the install target for .pc files

11 years agoSet success status at the end of PkgConfigGenerator's worker
Mikko Rasa [Wed, 30 May 2012 19:07:58 +0000 (19:07 +0000)]
Set success status at the end of PkgConfigGenerator's worker

11 years agoPrint out the commands at the appropriate verbosity level
Mikko Rasa [Thu, 10 May 2012 21:21:25 +0000 (00:21 +0300)]
Print out the commands at the appropriate verbosity level

11 years agoGive tasks the ability to return the relevant shell command
Mikko Rasa [Thu, 10 May 2012 21:20:33 +0000 (00:20 +0300)]
Give tasks the ability to return the relevant shell command

11 years agoRestore --dry-run functionality
Mikko Rasa [Thu, 10 May 2012 21:20:07 +0000 (00:20 +0300)]
Restore --dry-run functionality

11 years agoDon't start tasks automatically upon creation
Mikko Rasa [Thu, 10 May 2012 21:19:35 +0000 (00:19 +0300)]
Don't start tasks automatically upon creation

11 years agoAdd missing headers
Mikko Rasa [Thu, 10 May 2012 21:17:10 +0000 (00:17 +0300)]
Add missing headers

11 years agoDon't try to unlink nonexistent files
Mikko Rasa [Thu, 10 May 2012 21:15:35 +0000 (00:15 +0300)]
Don't try to unlink nonexistent files

11 years agoAdd virtual destructor to Tool to avoid a warning
Mikko Rasa [Thu, 10 May 2012 21:15:12 +0000 (00:15 +0300)]
Add virtual destructor to Tool to avoid a warning

11 years agoEmit signal_finished from InternalTask
Mikko Rasa [Thu, 10 May 2012 21:13:40 +0000 (00:13 +0300)]
Emit signal_finished from InternalTask

11 years agoClean up output since target names now include the package name
Mikko Rasa [Wed, 9 May 2012 21:00:35 +0000 (00:00 +0300)]
Clean up output since target names now include the package name

11 years agoUse tool tag to detect C++ files rather than a specific tool class
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

11 years agoDisallow empty rebuild reason
Mikko Rasa [Wed, 9 May 2012 16:27:34 +0000 (19:27 +0300)]
Disallow empty rebuild reason

11 years agoThese checks are unnecessary with the separate symlink target gone
Mikko Rasa [Wed, 9 May 2012 16:22:08 +0000 (19:22 +0300)]
These checks are unnecessary with the separate symlink target gone

11 years agoAdd a missing header and remove an unnecessary one
Mikko Rasa [Wed, 9 May 2012 16:21:08 +0000 (19:21 +0300)]
Add a missing header and remove an unnecessary one

11 years agoDo dependency discovery in a single pass
Mikko Rasa [Wed, 9 May 2012 15:43:47 +0000 (18:43 +0300)]
Do dependency discovery in a single pass

11 years agoUnify some aspects of constructor helper functions
Mikko Rasa [Sun, 6 May 2012 21:06:42 +0000 (00:06 +0300)]
Unify some aspects of constructor helper functions

11 years agoMove soname generation to constructor
Mikko Rasa [Sun, 6 May 2012 21:02:32 +0000 (00:02 +0300)]
Move soname generation to constructor

11 years agoSplit Binary filename generation to Executable and SharedLibrary
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

11 years agoGet rid of the Library and SystemLibrary classes as unnecessary abstractions
Mikko Rasa [Sun, 6 May 2012 11:25:11 +0000 (14:25 +0300)]
Get rid of the Library and SystemLibrary classes as unnecessary abstractions

11 years agoMove the Component reference to Target and make it a pointer
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

11 years agoMove some install location assignments to more logical places
Mikko Rasa [Fri, 4 May 2012 19:15:45 +0000 (22:15 +0300)]
Move some install location assignments to more logical places

11 years agoTool names are no longer retrieved from Architecture
Mikko Rasa [Fri, 4 May 2012 18:14:29 +0000 (21:14 +0300)]
Tool names are no longer retrieved from Architecture

11 years agoHave Architecture provide pattern lists for library and executable filenames
Mikko Rasa [Fri, 4 May 2012 18:10:47 +0000 (21:10 +0300)]
Have Architecture provide pattern lists for library and executable filenames

11 years agoConsolidate various target state variables into a single state
Mikko Rasa [Tue, 1 May 2012 11:22:09 +0000 (14:22 +0300)]
Consolidate various target state variables into a single state

11 years agoRename Target::get_rebuild to needs_rebuild
Mikko Rasa [Tue, 1 May 2012 11:19:43 +0000 (14:19 +0300)]
Rename Target::get_rebuild to needs_rebuild

11 years agoMove C-specific stuff from SourceFile to CSourceFile
Mikko Rasa [Tue, 1 May 2012 10:05:57 +0000 (13:05 +0300)]
Move C-specific stuff from SourceFile to CSourceFile

11 years agoRemove the buildable flag and instead check for tool being non-null
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

11 years agoGet rid of separate header targets which serve no useful purpose
Mikko Rasa [Tue, 1 May 2012 08:18:21 +0000 (11:18 +0300)]
Get rid of separate header targets which serve no useful purpose

11 years agoSimplify InstalledFile::generate_target_path
Mikko Rasa [Mon, 30 Apr 2012 11:47:34 +0000 (14:47 +0300)]
Simplify InstalledFile::generate_target_path

11 years agoBetter use of OOP in determining file install locations
Mikko Rasa [Mon, 30 Apr 2012 08:25:50 +0000 (11:25 +0300)]
Better use of OOP in determining file install locations

11 years agoRewrite BuildInfo to be compiler-agnostic
Mikko Rasa [Fri, 27 Apr 2012 18:04:23 +0000 (21:04 +0300)]
Rewrite BuildInfo to be compiler-agnostic

11 years agoMake BuildInfo able to handle chained dependencies
Mikko Rasa [Fri, 27 Apr 2012 18:03:11 +0000 (21:03 +0300)]
Make BuildInfo able to handle chained dependencies

11 years agoDerive BuildInfo::Loader from ObjectLoader
Mikko Rasa [Sat, 21 Apr 2012 19:33:34 +0000 (22:33 +0300)]
Derive BuildInfo::Loader from ObjectLoader

11 years agoDrop some deprecated datafile statements from Component
Mikko Rasa [Sat, 21 Apr 2012 18:24:46 +0000 (21:24 +0300)]
Drop some deprecated datafile statements from Component

11 years agoLet the tools deal with cross-compiling flags
Mikko Rasa [Sat, 21 Apr 2012 18:19:48 +0000 (21:19 +0300)]
Let the tools deal with cross-compiling flags

11 years agoRename BuildInfo::add to update_from
Mikko Rasa [Sat, 21 Apr 2012 18:05:39 +0000 (21:05 +0300)]
Rename BuildInfo::add to update_from

11 years agoRename Install to InstalledFile
Mikko Rasa [Fri, 13 Apr 2012 16:54:47 +0000 (19:54 +0300)]
Rename Install to InstalledFile

11 years agoRewrite ObjectFile dependency finding so it doesn't depend on includes
Mikko Rasa [Fri, 13 Apr 2012 16:47:23 +0000 (19:47 +0300)]
Rewrite ObjectFile dependency finding so it doesn't depend on includes

11 years agoGet rid of the global TargetList typedef
Mikko Rasa [Wed, 11 Apr 2012 18:39:21 +0000 (21:39 +0300)]
Get rid of the global TargetList typedef

11 years agoMove file-to-target mapping to a separate class
Mikko Rasa [Tue, 10 Apr 2012 15:07:22 +0000 (18:07 +0300)]
Move file-to-target mapping to a separate class

11 years agoBig rewrite for a more tool-centric approach
Mikko Rasa [Sun, 8 Apr 2012 16:11:29 +0000 (19:11 +0300)]
Big rewrite for a more tool-centric approach

12 years agoAdd .gitignore file
Mikko Rasa [Sun, 8 Apr 2012 16:19:10 +0000 (19:19 +0300)]
Add .gitignore file

12 years agoRemove a useless path-to-string conversion
Mikko Rasa [Sat, 31 Mar 2012 10:51:58 +0000 (13:51 +0300)]
Remove a useless path-to-string conversion

12 years agoMake symlink a feature of the Install target rather than a target on its own
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

12 years agoImprove file target naming
Mikko Rasa [Sat, 31 Mar 2012 10:47:28 +0000 (13:47 +0300)]
Improve file target naming

12 years agoFix an incorrect assumption of target name being the basename of its path
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

12 years agoAdd a separate set of functions for registering and looking up targets by 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

12 years agoMove the TargetMap typedef inside Builder
Mikko Rasa [Fri, 30 Mar 2012 18:00:52 +0000 (21:00 +0300)]
Move the TargetMap typedef inside Builder

12 years agoReplace per-file copyright notices with a single file
Mikko Rasa [Fri, 24 Feb 2012 09:55:21 +0000 (11:55 +0200)]
Replace per-file copyright notices with a single file

12 years agoDetect multiarch in bootstrap.sh as well
Mikko Rasa [Mon, 19 Sep 2011 09:07:07 +0000 (09:07 +0000)]
Detect multiarch in bootstrap.sh as well

12 years agoRudimentary support for Debian/Ubuntu multiarch library locations
Mikko Rasa [Fri, 16 Sep 2011 20:24:53 +0000 (20:24 +0000)]
Rudimentary support for Debian/Ubuntu multiarch library locations

12 years agoFurther changes for library compatibility
Mikko Rasa [Tue, 6 Sep 2011 11:47:24 +0000 (11:47 +0000)]
Further changes for library compatibility

12 years agoAdjust to library changes
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

12 years agoAdd a binary package for OpenGL ES
Mikko Rasa [Wed, 25 May 2011 07:38:10 +0000 (07:38 +0000)]
Add a binary package for OpenGL ES

12 years agoFix a bug in condition evaluation
Mikko Rasa [Wed, 25 May 2011 07:38:00 +0000 (07:38 +0000)]
Fix a bug in condition evaluation

13 years agoDeprecate the modular keyword for programs and host keyword for modules
Mikko Rasa [Thu, 20 Jan 2011 08:26:24 +0000 (08:26 +0000)]
Deprecate the modular keyword for programs and host keyword for modules

13 years agoMove variable expansion from Config to SourcePackage
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

13 years agoFix rebuild graph walking over symlinks
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

13 years agoAdd an alias for x86_64
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

14 years agoInstall shared libs correctly even if they have no soname
Mikko Rasa [Sun, 21 Feb 2010 13:10:56 +0000 (13:10 +0000)]
Install shared libs correctly even if they have no soname

14 years agoDon't segfault on missing packages
Mikko Rasa [Thu, 11 Feb 2010 08:22:40 +0000 (08:22 +0000)]
Don't segfault on missing packages

14 years agoUse ${prefix} in .pc files
Mikko Rasa [Thu, 11 Feb 2010 07:55:17 +0000 (07:55 +0000)]
Use ${prefix} in .pc files

14 years agoFix Condition to handle booleans properly
Mikko Rasa [Wed, 10 Feb 2010 14:46:45 +0000 (14:46 +0000)]
Fix Condition to handle booleans properly

14 years agoVarious fixes to package dependency and build info handling
Mikko Rasa [Wed, 10 Feb 2010 14:18:12 +0000 (14:18 +0000)]
Various fixes to package dependency and build info handling

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

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