aboutsummaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2014-04-24Add a command for querying number of CPU'sMark Ferrell
* This is something of a stop-gap until we can come up w/ a unified interface for asking for this sort of information. Something again to a 'build-host' command which we can query arch, os, version, endian, num-cpus, etc.
2014-04-23[build-fetch-p4] Remove debug 'exit 0'David Barksdale
2014-04-22Add Perforce support.Mark Ferrell
* Have enabled perforce support as a p4:// SOURCE_URI. Currently this requires that the user already perform a 'p4 login', though we may be able to automatically perform said login should we find that various P4 specific environment variables are already set (aka git and other p4 capable tools).
2014-04-22Bugfix: previouis makedeps rewrite list 'build source' supportMark Ferrell
2014-04-21Uninstall a package before reinstalling it.Mark Ferrell
2014-04-21Change how build-makedeps handles depdanciesMark Ferrell
* Instead of generating huge lists of dependancies and then jumping through eval hoops to write them into the Makefile, we now use basic (portable) Makefile syntax to just append dependancies by declaring the comman portion as a separate entry. This should reduce the time spent building the makefile (less shell hoops) and allow us to automatically perform uninstalls for reverse deps.
2014-04-16Silence error when sysroot does not existDavid Barksdale
2014-04-16[fetch-{git,svn}] Fix simple_usage invocationDavid Barksdale
2014-04-16Rewrite make-distclean as a wrapper to make-cleanMark Ferrell
2014-04-16Fixup clean/distcleanMark Ferrell
* Clean tmp files for a package out of BUILDER_TMPDIR during clean/distclean. This is particularly relivant after we added prepped/compiled staging data to temp.
2014-04-16Remove packages which are no longer validMark Ferrell
* Before we start a build we check the SYSROOT for old packages which no longer have a valid package definition. This could be the result of a rename, or simply removing the package all together. Regardless, we remove it from the SYSROOT.
2014-04-15Add .buildrules files to package dependenciesMark Ferrell
2014-04-15Look for the builder script index in multiple locationsMark Ferrell
2014-04-15Allow packages to define EXTRA_SOURCESMark Ferrell
* Some packages rely on config files and such out of ${F} which are copied into ${S} for some purpose. These files are not normally caught as a dependancy. Now we can define these files in EXTRA_SOURCES so that builder will know to rebuild a package if these files change.
2014-04-15Fixup source dependanciesMark Ferrell
* Add the builder git index and included configs to a packages source dependancies.
2014-04-15Nuke ${W} during cleanup, not just ${S}Mark Ferrell
* A number of packages perform their build outside of the ${S} path, which leaves tons of extra trash in ${W}. Go ahead and clean it all up properly whenever a build is successful.
2014-04-15Do not cleanup ${S} or ${D} when debuggingMark Ferrell
2014-04-15We no longer support the idea of a PROJECTMark Ferrell
* The original idea behind the PROJECT variable is all but gone, and really .. it wasn't very good to begin with. Remove any remaining references to it.
2014-04-15Use "simple_usage" not "usage"Mark Ferrell
* Fixed usage bug in fetch-git and fetch-svn
2014-04-15Fix 'build query --exists'Mark Ferrell
* Changes in a previous commit which attempted to fixup an edge-case failure in '--exists' managed to break it for all cases.
2014-04-14Fix fetching from mirrorsMark Ferrell
2014-04-14Setup the package environment during load_rules()Mark Ferrell
* We have pulled the environment setup from build-query and moved it into load_rules(). This means that build-query acts to query information about a package and is reserved more as a cmdline helper for external tools. Tools that need package variables should use load_rules instead of 'build-query --environ'.
2014-04-14Fix querying the source_uriMark Ferrell
2014-04-14'build source' does not depend on prepMark Ferrell
* The source target doesn't depend on anything but the sources themselves.
2014-04-14Fixup name-space collisions for cleanup handlersMark Ferrell
2014-04-14Make various sub-commands proper builder librariesMark Ferrell
* Have fixed up various sub-commands so that they can now be used via import() as well as executed as a command.
2014-04-14Do not consume the command exit statusMark Ferrell
* Using <cmd> && date causes 'make' to miss the exit status from <cmd>. Further more, this condition is already implied by the Makefile by simply putting date on a new line below <cmd>.
2014-04-09Remove 'make-' prefixes from make subcmdsMark Ferrell
* Generally all of the make-* prefixed commands are expected to be called from the cmdline w/out the make- prefix. Calling them w/ the make-* prefix is reserved for build-make.
2014-04-09Add a 'test' subcmd for performing package testsMark Ferrell
* A given packages ability to run its "test" depends on all packages in the BDEPENDS having successfully passed their tests. In the future it may be useful to allow a package to set a TDEPENDS which defaults to BDEPENDS.
2014-04-09Do not process non-existant directories from the PATHMark Ferrell
2014-04-09Make the prep and compile subcommands callable from the CLIMark Ferrell
2014-04-09Capture exit status from build_fetch.Mark Ferrell
2014-04-09Add build-urlMark Ferrell
* Removed URL parsing out of build-make-fetch and into its own command.
2014-04-08Support 'build help --all'Mark Ferrell
* Added the ability to list all of the available commands. The code is still rough, but it works. It can be cleaned up and enhanced later.
2014-04-08Better handling of '*/all' and 'all'Mark Ferrell
2014-04-08Handle various fetch methods as sub-cmds to fetchMark Ferrell
2014-04-08Cleanup help/usage information for some commandsMark Ferrell
2014-04-08Properly support arguments to sub commandsMark Ferrell
* We needed some way to detect when a sub-command was being called by the make engine vs by a user so we could properly handle the 'help' command. This involved a lot of decoupling of the make handling out of the top-level 'build' tool and placing it into a newly created 'build-make'. * While we where at it we cleaned up the handling of various targets in makedeps so that 'all/all' is now a valid target, and subsequently, the default target.
2014-04-08Stop wrapping dumpmachineMark Ferrell
* Moved the test for gcc into dumpmachine directly, sort of curious that dumpmachine doesn't take this sort of short-cut to begin with..
2014-03-18Reorg build builtinsMark Ferrell
* Added a few new builtins to help performance in some minor use cases. * Move generic builtin routines to top of build script
2014-03-18Detect bad package treesMark Ferrell
2014-03-07Add a note abotu moving options to build-configMark Ferrell
* We have a few options in build-query which have nothing to do with package data and instead have everything to do with configuration data. We really need a 'build-config' command for looking up this information, and potentially overriding defaults.
2014-03-05Rename builder/ to libexecMark Ferrell
* New name better reflects the contents of this path.