-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from PolyJIT/f/cli-projects
This turns out to be one of the rather messy pull requests for 3.4. In general(!), there is not much of an API change happening with 3.4, hence the minor release. However, there are a few crucial things that will break user-code (sorry): Let's list the breaking features in order: * cli: You can no longer use -P as a switch for selecting projects. The cli takes projects as a variable length list. * projects: Projects no longer provide methods for build/prepare/download. Instead, there are only 2 methods used per project. 1) compile: All steps necessary to compile the project. 2) run_tests: All steps necessary to run the project's tests. Assume that the project is already compiled. We reduce a project's API to match the kinds of experiments we want to support. In general, there are only 2 kinds of experiments: Compile-Time & Run-Time based ones. In addition, projects can now make use of the new download API. This provides a generated method to download the project's source files: download and a new method that lists all available versions for a given project. Almost all supported projects make use of this new API from now on. * actions: A new action to serve as a delegate for a project's compile method has been added (actions.Compile). * uchroot/unionfs: Both have gotten a major rework & refactoring. No new features. Please refer to the API docs for details. * settings: The BB_ENV_* section is now generalized, i.e., any dictionary key entered here will be treated as an environment variable. For now, we still only make use of PATH and LD_LIBRARY_PATH, but we will honor all variables in a future commit. * gentoo: Complete rewrite of the containerize feature. Before, all actions would need to be wrapped into a call to uchroot, which made path handling kinda convoluted. In this rewrite, we redirect into a container-environment once and execute the gentoo based projects inside the container. This installs a copy of benchbuild inside the container and calls benchbuild inside with the same arguments as outside. This is very experimental and will be refined in future commits. * settings (2): Configuration.value() has become a property now (Configuration.value). Furthermore, we added conversion functions for bool and int. This enables the use of configuration elements in boolean expressions and ranges. * download: downloader got renamed to download. * uchroot: removed the uchroot_* prefix from all functions. * container: removed the container suffix/prefix from all functions. * extensions: all extensions have been split into separate modules. * Minor Bugfixes, Linter, Refactorings (renamings). Most not visible to users of benchbuild.
- Loading branch information
Showing
543 changed files
with
19,823 additions
and
10,637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.