aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-03 15:24:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-03 15:40:41 +0300
commit9891dbfdc88b94d01144151a8e30116e2ed28a59 (patch)
treea37bdbf8330eef130ed778fc1ed34af50dadfd3e /libbrep/build.cxx
parent3f270d5ce4534e92ebfaa032d373e6c35a6f8d46 (diff)
Add support for task request manifest toolchain name/version
Diffstat (limited to 'libbrep/build.cxx')
-rw-r--r--libbrep/build.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/libbrep/build.cxx b/libbrep/build.cxx
index 710c0b2..c0b780d 100644
--- a/libbrep/build.cxx
+++ b/libbrep/build.cxx
@@ -33,11 +33,16 @@ namespace brep
// build
//
build::
- build (string pnm, version pvr, string cfg, string mnm, string msm)
- : id (package_id (move (pnm), pvr), move (cfg)),
+ build (string pnm, version pvr,
+ string cfg,
+ string tnm, version tvr,
+ string mnm, string msm)
+ : id (package_id (move (pnm), pvr), move (cfg), tvr),
package_name (id.package.name),
package_version (move (pvr)),
configuration (id.configuration),
+ toolchain_name (move (tnm)),
+ toolchain_version (move (tvr)),
state (build_state::testing),
timestamp (timestamp_type::clock::now ()),
forced (false),