@cryptotaxi247 / infra-1 / commits / 09fa7c0f

* Delete obsolete buildfarm config.

svn path=/configurations/trunk/tud/; revision=23723

Eelco Dolstra committed Sep 10, 2010 at 14:49 UTC 09fa7c0f34e4962fa5ad30775e6af10090c94680
11 files changed -1369
buildfarm/jobs.nix deleted
-169
@@ -1,169 +0,0 @@
1 -let
2 -
3 - /* Helper functions. */
4 -
5 - pathInput = path: {type = "path"; path = toString path;};
6 - svnInput = url: {type = "svn"; url = url;};
7 - svnInputRev = url: rev: {type = "svn"; url = url; rev = rev;};
8 -
9 - makeJob = attrs: attrs // {
10 - jobScript = defaultJobScript;
11 - inputs = {
12 - #job = pathInput ../../../release;
13 - job = svnInput jobBaseline;
14 - nixpkgs = svnInputRev nixpkgsBaseline 15249;
15 - } // attrs.inputs;
16 - };
17 -
18 -
19 - /* Common variables for (almost) all jobs. */
20 -
21 - jobBaseline = https://svn.nixos.org/repos/nix/release/trunk;
22 -
23 - nixpkgsBaseline = https://svn.nixos.org/repos/nix/nixpkgs/trunk;
24 -
25 - defaultJobScript = "generic-dist/build+release.sh";
26 -
27 - defaultURL = http://buildfarm.st.ewi.tudelft.nl/releases;
28 -
29 - cacheDir = "/data/webserver/dist/nix-cache";
30 - cacheURL = http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache;
31 -
32 -
33 - /* Common variables for Nix-related jobs. */
34 -
35 - makeNixJob = attrs: makeJob ({
36 - notifyAddresses = ["e.dolstra@tudelft.nl"];
37 - args = [
38 - attrs.jobExpr
39 - attrs.jobAttr
40 - "/data/webserver/dist/nix/${attrs.dirName}"
41 - "http://nixos.org/releases/${attrs.dirName}"
42 - cacheDir
43 - http://nixos.org/releases/nix-cache
44 - ];
45 - } // attrs);
46 -
47 -
48 - /* Common variables for UU ST jobs. */
49 -
50 - makeUUSTJob = attrs: makeJob ({
51 - notifyAddresses = ["ariem@cs.uu.nl"];
52 - args = [
53 - attrs.jobExpr
54 - attrs.jobAttr
55 - "/data/webserver/dist/uust/${attrs.dirName}"
56 - "${defaultURL}/uust/${attrs.dirName}"
57 - cacheDir
58 - cacheURL
59 - ];
60 - } // attrs);
61 -
62 -
63 - /* Common variables for UT project jobs. */
64 -
65 - utFmtDistDir = "/data/webserver/dist/ut-fmt";
66 - utFmtDistURL = http://buildfarm.st.ewi.tudelft.nl/releases/ut-fmt;
67 -
68 - strategoxtJobs =
69 - (import ./strategoxt/jobs.nix) {
70 - inherit makeJob pathInput svnInput svnInputRev;
71 - };
72 -
73 - spoofaxJobs =
74 - (import ./spoofax/jobs.nix) {
75 - inherit makeJob pathInput svnInput svnInputRev;
76 - };
77 -
78 -in
79 - strategoxtJobs //
80 - spoofaxJobs // {
81 -
82 -
83 - /* Nixpkgs */
84 -
85 - nixpkgsTrunk = makeNixJob {
86 - dirName = "nixpkgs";
87 - inputs = {
88 - nixpkgsCheckout = svnInput https://svn.nixos.org/repos/nix/nixpkgs/trunk;
89 - };
90 - jobExpr = "../jobs/nix/nixpkgs.nix";
91 - jobAttr = "nixpkgsRelease";
92 - #notifyAddresses = ["nix-commits@cs.uu.nl"];
93 - disabled = true;
94 - };
95 -
96 -
97 - /* UU ST group jobs */
98 -
99 - /*
100 - uulibTrunk = makeUUSTJob {
101 - dirName = "uulib";
102 - inputs = {
103 - uulibCheckout = svnInput https://svn.cs.uu.nl:12443/repos/uust-repo/uulib/trunk/;
104 - };
105 - jobExpr = "../jobs/hut/uulib.nix";
106 - jobAttr = "uulibRelease";
107 - };
108 -
109 - uuagcTrunk = makeUUSTJob {
110 - dirName = "uuagc";
111 - inputs = {
112 - uuagcCheckout = svnInput https://svn.cs.uu.nl:12443/repos/uust-repo/uuagc/trunk/;
113 - };
114 - jobExpr = "../jobs/hut/uuagc.nix";
115 - jobAttr = "uuagcRelease";
116 - };
117 -
118 - ehTrunk = makeUUSTJob {
119 - dirName = "eh";
120 - inputs = {
121 - ehCheckout = svnInput https://svn.cs.uu.nl:12443/repos/EHC/trunk/EHC/;
122 - };
123 - jobExpr = "../jobs/hut/eh.nix";
124 - jobAttr = "ehRelease";
125 - };
126 -
127 - heliumTrunk = makeUUSTJob {
128 - dirName = "helium";
129 - inputs = {
130 - systemCheckout = svnInput https://svn.cs.uu.nl:12443/repos/heliumsystem;
131 - heliumCheckout = svnInput https://svn.cs.uu.nl:12443/repos/helium/trunk;
132 - topCheckout = svnInput https://svn.cs.uu.nl:12443/repos/Top/trunk;
133 - lvmCheckout = svnInput https://svn.cs.uu.nl:12443/repos/lvm/trunk;
134 - hintCheckout = svnInput https://svn.cs.uu.nl:12443/repos/hint/trunk;
135 - };
136 - jobExpr = "../jobs/hut/helium.nix";
137 - jobAttr = "heliumRelease";
138 - };
139 - */
140 -
141 -
142 - /* TorX */
143 -
144 - /*
145 - torxHead = makeJob {
146 - inputs = {
147 - torxHead = pathInput /tmp/torx-buildfarm.tgz;
148 - };
149 - notifyAddresses = ["e.dolstra@tudelft.nl"];
150 - args = ["./jobs/ut-fmt/torx.nix" "torxHeadRelease" utFmtDistDir cacheDir];
151 - #noRelease = true;
152 - disabled = true;
153 - };
154 - */
155 -
156 -
157 - /* Groove */
158 -
159 - /*
160 - grooveHead = makeJob {
161 - inputs = {
162 - };
163 - notifyAddresses = ["e.dolstra@tudelft.nl"];
164 - args = ["./jobs/ut-fmt/groove.nix" "grooveHeadRelease" utFmtDistDir cacheDir];
165 - #noRelease = true;
166 - };
167 - */
168 -
169 -}
buildfarm/spoofax/baseline.nix deleted
-21
@@ -1,21 +0,0 @@
1 -{
2 - aterm =
3 - http://releases.strategoxt.org/strategoxt-0.17/aterm/aterm-2.5pre21238-26ra85lr/;
4 -
5 - # martin: needs to be updated, but I'm scared what will happen. We
6 - # should do this when the buildfarm transition has stabilized a bit.
7 - sdf =
8 - http://releases.strategoxt.org/strategoxt-0.17/sdf2-bundle/sdf2-bundle-2.4pre212034-37nm9z7p/;
9 -
10 - strategoxt =
11 - http://releases.strategoxt.org/strategoxt/strategoxt-0.17M3pre17690-0ryq08iv/;
12 -
13 - strategoLibraries =
14 - http://releases.strategoxt.org/stratego-libraries/stratego-libraries-0.17pre1768017680-hjqcxi9w/;
15 -
16 - # used for compiling Stratego/XT from Subversion.
17 - strategoxtBootstrap =
18 - http://releases.strategoxt.org/strategoxt/strategoxt-0.17M3pre17690-0ryq08iv/strategoxt-0.17M3pre17690.tar.gz;
19 - # ftp server is down a lot at the moment
20 - # ftp://ftp.strategoxt.org/pub/stratego/StrategoXT/baseline/latest/strategoxt.tar.gz
21 -}
buildfarm/spoofax/easy-job.nix deleted
-186
@@ -1,186 +0,0 @@
1 -{makeJob, pathInput, svnInput, svnInputRev} :
2 -
3 -rec {
4 - urlInput = url: {type = "url"; inherit url;};
5 - infoInput = url : urlInput "${url}/release-info.xml";
6 -
7 - makeSpoofaxJob = attrs : makeJob (attrs // {
8 - args = [
9 - # directory relative to the supervisor.
10 - "../jobs/spoofax/releases.nix"
11 - attrs.jobAttr
12 - "/data/webserver/dist/strategoxt/${attrs.dirName}"
13 - "http://releases.strategoxt.org/${attrs.dirName}"
14 - "/data/webserver/dist/nix-cache"
15 - "http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache"
16 - ];
17 -
18 - inputs = {
19 - systems = pathInput ./systems.nix;
20 - } // attrs.inputs;
21 - });
22 -
23 - /**
24 - * This job function makes a buildfarm job based on a specification of
25 - * a package in packages.nix. It automatically adds the svn inputs
26 - * and the releaae-info.xml files of the requirements.
27 - */
28 - makeEasyJob = attrs :
29 - let makeInfoURL =
30 - if attrs ? makeInfoURL then attrs.makeInfoURL else defaultMakeInfoURL;
31 - spec =
32 - attrs.spec;
33 - stable =
34 - if attrs ? stable then attrs.stable else false;
35 - svn =
36 - if attrs ? svn then attrs.svn else "trunk";
37 - customInputs =
38 - if attrs ? inputs then attrs.inputs else {};
39 - in makeSpoofaxJob (removeAttrs (({
40 - dirName =
41 - reflect.packageName spec;
42 - notifyAddresses =
43 - reflect.notifyAddresses spec;
44 - jobAttr =
45 - reflect.jobAttr spec stable;
46 - }
47 - // attrs)
48 - // {
49 - inputs =
50 - ( (reflect.svnInputs spec svn)
51 - // (reflect.requiresInputs spec makeInfoURL))
52 - // customInputs;
53 - }) ["makeInfoURL"]);
54 -
55 - defaultMakeInfoURL = spec :
56 - let packageName = reflect.packageName spec;
57 - in infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
58 -
59 - /**
60 - * Some packages reflect of pkgs to determine dependencies
61 - * and options. We need to accommodate that a bit ...
62 - */
63 - fakePkgs = {
64 - stdenv = {
65 - system = "generic";
66 - };
67 - };
68 -
69 - fakePkgsMinGW = {
70 - stdenv = {
71 - system = "i686-cygwin";
72 - stdenvType = "i686-mingw";
73 - isMinGW = true;
74 - };
75 - };
76 -
77 - /**
78 - * Reflection tools for package specifications.
79 - */
80 - reflect = rec {
81 - /**
82 - * packageName is optional. We fall back to the fullName
83 - */
84 - packageName = spec :
85 - if (spec fakePkgs) ? packageName then
86 - (spec fakePkgs).packageName
87 - else
88 - (spec fakePkgs).fullName;
89 -
90 - /**
91 - * notifyAddresses are optional. We fall back to the contactEmail.
92 - */
93 - notifyAddresses = spec :
94 - if (spec fakePkgs) ? notifyAddresses then
95 - (spec fakePkgs).notifyAddresses
96 - else
97 - [(spec fakePkgs).contactEmail];
98 -
99 - /**
100 - * if stable, then the job attribute is by convention ${attrPrefix}Stable.
101 - * if not stable, then ${attrPrefix}Unstable.
102 - */
103 - jobAttr = spec : stable :
104 - if stable then
105 - (spec fakePkgs).attrPrefix + "Stable"
106 - else
107 - (spec fakePkgs).attrPrefix + "Unstable";
108 -
109 - /**
110 - * The svn input is by convention ${attrPrefix}Checkout.
111 - *
112 - * The package description must have an svn attribute set
113 - * with attributes for the variant.
114 - */
115 - svnInputAttr = spec : variant :
116 - { name =
117 - (spec fakePkgs).attrPrefix + "Checkout";
118 -
119 - value =
120 - svnInput (builtins.getAttr variant (spec fakePkgs).svn);
121 - };
122 -
123 - svnInputs = spec : variant :
124 - if (spec fakePkgs) ? svn then
125 - builtins.listToAttrs [(svnInputAttr spec variant)]
126 - else
127 - {};
128 -
129 - /**
130 - * The info attribute name is by convention ${attrPrefix}Info
131 - */
132 - infoInputAttr = spec : makeInfoURL :
133 - { name = (spec fakePkgs).attrPrefix + "Info";
134 - value = makeInfoURL spec;
135 - };
136 -
137 - requiresInputs = spec : makeInfoURL :
138 - builtins.listToAttrs (
139 - map (somespec : (reflect.infoInputAttr somespec makeInfoURL)) (requiresClosure spec)
140 - );
141 -
142 - /**
143 - * Take the closure of requirements.
144 - */
145 - requiresClosure = spec :
146 - let closure = somespec :
147 - (somespec fakePkgs).requires
148 - ++ (somespec fakePkgsMinGW).requires
149 - ++ (fun.concatLists
150 - (map (x : closure x) (somespec fakePkgs).requires)
151 - );
152 - in (if (spec fakePkgs) ? bundles then
153 - (spec fakePkgs).bundles
154 - ++ (fun.concatLists
155 - (map (x : closure x) (spec fakePkgs).bundles)
156 - )
157 - else
158 - [])
159 - ++ (closure spec)
160 - ++ (fun.concatLists
161 - (map (x : closure x) (spec fakePkgs).svnRequires)
162 - )
163 - ++ (spec fakePkgs).svnRequires;
164 -
165 - /**
166 - * Is the second argument spec required by the spec?
167 - */
168 - isRequired = byspec : somespec :
169 - fun.elem somespec (requiresClosure byspec);
170 - };
171 -
172 - /**
173 - * Taken from the nixpkgs library.
174 - */
175 - fun = rec {
176 - elem = x: list: fold (a: bs: x == a || bs) false list;
177 -
178 - fold = op: nul: list:
179 - if list == []
180 - then nul
181 - else op (builtins.head list) (fold op nul (builtins.tail list));
182 -
183 - concatLists =
184 - fold (x: y: x ++ y) [];
185 - };
186 -}
buildfarm/spoofax/jobs-helpers.nix deleted
-113
@@ -1,113 +0,0 @@
1 -attrs :
2 -
3 -rec {
4 -
5 - # The easy buildfarm configuration is a system based on a
6 - # declarative package description, and dependencies that are
7 - # downloaded directly from release pages produced by the
8 - # buildfarm.
9 -
10 - easy = (import ./easy-job.nix) attrs;
11 -
12 - # Reflect is a set of functions for reflecting over package
13 - # specifications.
14 -
15 - reflect = easy.reflect;
16 -
17 - # infoInput turns a URL of a release into a buildfarm input,
18 - # attaching release-info.xml to the URL.
19 -
20 - infoInput = easy.infoInput;
21 -
22 - # urlInput turns a URL of a release into a buildfarm input,
23 -
24 - urlInput = easy.urlInput;
25 -
26 - inherit (attrs) svnInput svnInputRev pathInput;
27 -
28 - # Main function to make easy jobs.
29 -
30 - makeEasyJob = easy.makeEasyJob;
31 -
32 - # A more generic job. Requires more configuration though! You need
33 - # to specify yourself: dirName, notifyAddresses, jobAttr in
34 - # releases.nix, and inputs.
35 -
36 - makeSpoofaxJob = easy.makeSpoofaxJob;
37 -
38 - # Generic job function.
39 -
40 - makeJob = attrs.makeJob;
41 -
42 - # The file packages.nix describes packages, their dependencies,
43 - # specific platform requirements, etc.
44 -
45 - specs =
46 - (import ../../../../release/jobs/spoofax/packages.nix);
47 -
48 - # Current Stratego/XT baseline packages.
49 -
50 - baseline =
51 - import ./baseline.nix;
52 -
53 - # The makeEasyJob function accepts an argument
54 - # 'makeInfoURL'. makeInfoURL is a function that given a package
55 - # specification returns a URL to a release-info.xml file. This
56 - # file provides the buildfarm with information about available
57 - # source tarballs and RPMs for this package.
58 -
59 - # The default makeInfoURL always uses the latest -unstable release
60 - # of a package. You only need to specify your own makeInfoURL if
61 - # you want a different behaviour. Some useful makeInfoURL variants
62 - # are defined here.
63 -
64 - makeInfoURL = {
65 - unstable =
66 - easy.defaultMakeInfoURL;
67 -
68 - # A common example of makeInfoURL is 'usingBaseline'. This
69 - # makeInfoURL variant uses baseline releases for aterm,
70 - # sdf2-bundle, and strategoxt. The URLs of the baseline are
71 - # specified in 'baseline.nix'.
72 - usingBaseline = spec :
73 - let packageName = reflect.packageName spec;
74 - in if packageName == "aterm" then
75 - infoInput baseline.aterm
76 - else if packageName == "sdf2-bundle" then
77 - infoInput baseline.sdf
78 - else if packageName == "strategoxt" then
79 - infoInput baseline.strategoxt
80 - else if packageName == "stratego-libraries" then
81 - infoInput baseline.strategoLibraries
82 - else
83 - infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
84 -
85 - # Stratego/XT uses a branch of the ATerm library. For the
86 - # Meta-Environment packages to built against this branch, and
87 - # against other releases that have been built using this branch,
88 - # we use this makeInfoURL function, which attaches
89 - # '-with-aterm64' to package names.
90 -
91 - # This function is not required for Stratego/XT packages, since
92 - # these are all built using with this branch of the ATerm
93 - # library.
94 - withATerm64 = spec :
95 - let packageName = reflect.packageName spec;
96 - in if packageName == "aterm" then
97 - infoInput "http://releases.strategoxt.org/aterm64/${packageName}-unstable/"
98 - else if reflect.isRequired spec specs.aterm then
99 - infoInput "http://releases.strategoxt.org/${packageName}-with-aterm64/${packageName}-unstable/"
100 - else
101 - infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
102 - };
103 -
104 - spoofaxArgs = {jobFile, jobAttr, subdir} :
105 - [
106 - ("../jobs/" + jobFile)
107 - jobAttr
108 - ("/data/webserver/dist/strategoxt/" + subdir)
109 - ("http://releases.strategoxt.org/" + subdir)
110 - "/data/webserver/dist/nix-cache"
111 - "http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache"
112 - ];
113 -}
buildfarm/spoofax/jobs.nix deleted
-19
@@ -1,19 +0,0 @@
1 -attrs :
2 -
3 -# check jobs-helpers.nix for documentation.
4 -with (import ./jobs-helpers.nix) attrs;
5 -
6 -{
7 -
8 - spoofaxATermTrunk = makeEasyJob {
9 - spec = specs.spoofaxATerm;
10 - makeInfoURL = makeInfoURL.usingBaseline;
11 - };
12 -
13 -# spoofaxJsglrTrunk = makeEasyJob {
14 -# spec = specs.spoofaxJsglr;
15 -# makeInfoURL = makeInfoURL.usingBaseline;
16 -# };
17 -
18 -}
19 -
buildfarm/spoofax/systems.nix deleted
-13
@@ -1,13 +0,0 @@
1 -/**
2 - * List of available systems in the TUD buildfarm.
3 - */
4 -[ "i686-linux"
5 - "x86_64-linux"
6 - "i686-darwin"
7 -# "i686-cygwin"
8 -]
9 -
10 -
11 - # "powerpc-darwin"
12 - # "powerpc-linux"
13 - # "i686-freebsd"
buildfarm/strategoxt/baseline.nix deleted
-27
@@ -1,27 +0,0 @@
1 -{
2 - aterm =
3 - http://releases.strategoxt.org/strategoxt-0.17/aterm/aterm-2.5pre21238-26ra85lr/;
4 -
5 - # martin: needs to be updated, but I'm scared what will happen. We
6 - # should do this when the buildfarm transition has stabilized a bit.
7 - sdf =
8 - http://releases.strategoxt.org/strategoxt-0.17/sdf2-bundle/sdf2-bundle-2.4pre212034-37nm9z7p/;
9 -
10 - strategoxt =
11 - http://hydra.nixos.org/build/66385; # r19956
12 -
13 - strategoLibraries =
14 - http://releases.strategoxt.org/stratego-libraries/stratego-libraries-0.17pre1768017680-hjqcxi9w/;
15 -
16 - # used for compiling Stratego/XT from Subversion.
17 - strategoxtBootstrap =
18 - http://hydra.nixos.org/build/66370/download/1/strategoxt-0.18pre19956.tar.gz; # r19956
19 -
20 - /*
21 - ftp://ftp.strategoxt.org/pub/stratego/StrategoXT/baseline/latest/strategoxt.tar.gz;
22 - */
23 -
24 - /*
25 - http://releases.strategoxt.org/strategoxt/strategoxt-0.17pre17928-x2sni5sg/strategoxt-0.17pre17928.tar.gz;
26 - */
27 -}
buildfarm/strategoxt/easy-job.nix deleted
-186
@@ -1,186 +0,0 @@
1 -{makeJob, pathInput, svnInput, svnInputRev} :
2 -
3 -rec {
4 - urlInput = url: {type = "url"; inherit url;};
5 - infoInput = url : urlInput "${url}/release-info.xml";
6 -
7 - makeStrategoXTJob = attrs : makeJob (attrs // {
8 - args = [
9 - # directory relative to the supervisor.
10 - "../jobs/strategoxt/releases.nix"
11 - attrs.jobAttr
12 - "/data/webserver/dist/strategoxt2/${attrs.dirName}"
13 - "http://releases.strategoxt.org/${attrs.dirName}"
14 - "/data/webserver/dist/nix-cache"
15 - "http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache"
16 - ];
17 -
18 - inputs = {
19 - systems = pathInput ./systems.nix;
20 - } // attrs.inputs;
21 - });
22 -
23 - /**
24 - * This job function makes a buildfarm job based on a specification of
25 - * a package in packages.nix. It automatically adds the svn inputs
26 - * and the releaae-info.xml files of the requirements.
27 - */
28 - makeEasyJob = attrs :
29 - let makeInfoURL =
30 - if attrs ? makeInfoURL then attrs.makeInfoURL else defaultMakeInfoURL;
31 - spec =
32 - attrs.spec;
33 - stable =
34 - if attrs ? stable then attrs.stable else false;
35 - svn =
36 - if attrs ? svn then attrs.svn else "trunk";
37 - customInputs =
38 - if attrs ? inputs then attrs.inputs else {};
39 - in makeStrategoXTJob (removeAttrs (({
40 - dirName =
41 - reflect.packageName spec;
42 - notifyAddresses =
43 - reflect.notifyAddresses spec;
44 - jobAttr =
45 - reflect.jobAttr spec stable;
46 - }
47 - // attrs)
48 - // {
49 - inputs =
50 - ( (reflect.svnInputs spec svn)
51 - // (reflect.requiresInputs spec makeInfoURL))
52 - // customInputs;
53 - }) ["makeInfoURL"]);
54 -
55 - defaultMakeInfoURL = spec :
56 - let packageName = reflect.packageName spec;
57 - in infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
58 -
59 - /**
60 - * Some packages reflect of pkgs to determine dependencies
61 - * and options. We need to accommodate that a bit ...
62 - */
63 - fakePkgs = {
64 - stdenv = {
65 - system = "generic";
66 - };
67 - };
68 -
69 - fakePkgsMinGW = {
70 - stdenv = {
71 - system = "i686-cygwin";
72 - stdenvType = "i686-mingw";
73 - isMinGW = true;
74 - };
75 - };
76 -
77 - /**
78 - * Reflection tools for package specifications.
79 - */
80 - reflect = rec {
81 - /**
82 - * packageName is optional. We fall back to the fullName
83 - */
84 - packageName = spec :
85 - if (spec fakePkgs) ? packageName then
86 - (spec fakePkgs).packageName
87 - else
88 - (spec fakePkgs).fullName;
89 -
90 - /**
91 - * notifyAddresses are optional. We fall back to the contactEmail.
92 - */
93 - notifyAddresses = spec :
94 - if (spec fakePkgs) ? notifyAddresses then
95 - (spec fakePkgs).notifyAddresses
96 - else
97 - [(spec fakePkgs).contactEmail];
98 -
99 - /**
100 - * if stable, then the job attribute is by convention ${attrPrefix}Stable.
101 - * if not stable, then ${attrPrefix}Unstable.
102 - */
103 - jobAttr = spec : stable :
104 - if stable then
105 - (spec fakePkgs).attrPrefix + "Stable"
106 - else
107 - (spec fakePkgs).attrPrefix + "Unstable";
108 -
109 - /**
110 - * The svn input is by convention ${attrPrefix}Checkout.
111 - *
112 - * The package description must have an svn attribute set
113 - * with attributes for the variant.
114 - */
115 - svnInputAttr = spec : variant :
116 - { name =
117 - (spec fakePkgs).attrPrefix + "Checkout";
118 -
119 - value =
120 - svnInput (builtins.getAttr variant (spec fakePkgs).svn);
121 - };
122 -
123 - svnInputs = spec : variant :
124 - if (spec fakePkgs) ? svn then
125 - builtins.listToAttrs [(svnInputAttr spec variant)]
126 - else
127 - {};
128 -
129 - /**
130 - * The info attribute name is by convention ${attrPrefix}Info
131 - */
132 - infoInputAttr = spec : makeInfoURL :
133 - { name = (spec fakePkgs).attrPrefix + "Info";
134 - value = makeInfoURL spec;
135 - };
136 -
137 - requiresInputs = spec : makeInfoURL :
138 - builtins.listToAttrs (
139 - map (somespec : (reflect.infoInputAttr somespec makeInfoURL)) (requiresClosure spec)
140 - );
141 -
142 - /**
143 - * Take the closure of requirements.
144 - */
145 - requiresClosure = spec :
146 - let closure = somespec :
147 - (somespec fakePkgs).requires
148 - ++ (somespec fakePkgsMinGW).requires
149 - ++ (fun.concatLists
150 - (map (x : closure x) (somespec fakePkgs).requires)
151 - );
152 - in (if (spec fakePkgs) ? bundles then
153 - (spec fakePkgs).bundles
154 - ++ (fun.concatLists
155 - (map (x : closure x) (spec fakePkgs).bundles)
156 - )
157 - else
158 - [])
159 - ++ (closure spec)
160 - ++ (fun.concatLists
161 - (map (x : closure x) (spec fakePkgs).svnRequires)
162 - )
163 - ++ (spec fakePkgs).svnRequires;
164 -
165 - /**
166 - * Is the second argument spec required by the spec?
167 - */
168 - isRequired = byspec : somespec :
169 - fun.elem somespec (requiresClosure byspec);
170 - };
171 -
172 - /**
173 - * Taken from the nixpkgs library.
174 - */
175 - fun = rec {
176 - elem = x: list: fold (a: bs: x == a || bs) false list;
177 -
178 - fold = op: nul: list:
179 - if list == []
180 - then nul
181 - else op (builtins.head list) (fold op nul (builtins.tail list));
182 -
183 - concatLists =
184 - fold (x: y: x ++ y) [];
185 - };
186 -}
\ No newline at end of file
buildfarm/strategoxt/jobs-helpers.nix deleted
-150
@@ -1,150 +0,0 @@
1 -attrs :
2 -
3 -rec {
4 -
5 - # The easy buildfarm configuration is a system based on a
6 - # declarative package description, and dependencies that are
7 - # downloaded directly from release pages produced by the
8 - # buildfarm.
9 -
10 - easy = (import ./easy-job.nix) attrs;
11 -
12 - # Reflect is a set of functions for reflecting over package
13 - # specifications.
14 -
15 - reflect = easy.reflect;
16 -
17 - # infoInput turns a URL of a release into a buildfarm input,
18 - # attaching release-info.xml to the URL.
19 -
20 - infoInput = easy.infoInput;
21 -
22 - # urlInput turns a URL of a release into a buildfarm input,
23 -
24 - urlInput = easy.urlInput;
25 -
26 - inherit (attrs) svnInput svnInputRev pathInput;
27 -
28 - # Main function to make easy jobs.
29 -
30 - makeEasyJob = easy.makeEasyJob;
31 -
32 - # A more generic job. Requires more configuration though! You need
33 - # to specify yourself: dirName, notifyAddresses, jobAttr in
34 - # releases.nix, and inputs.
35 -
36 - makeStrategoXTJob = easy.makeStrategoXTJob;
37 -
38 - # Generic job function.
39 -
40 - makeJob = attrs.makeJob;
41 -
42 - # The file packages.nix describes packages, their dependencies,
43 - # specific platform requirements, etc.
44 -
45 - specs =
46 - (import ../../../../release/jobs/strategoxt/packages.nix);
47 -
48 - # Current Stratego/XT baseline packages.
49 -
50 - baseline =
51 - import ./baseline.nix;
52 -
53 - # The makeEasyJob function accepts an argument
54 - # 'makeInfoURL'. makeInfoURL is a function that given a package
55 - # specification returns a URL to a release-info.xml file. This
56 - # file provides the buildfarm with information about available
57 - # source tarballs and RPMs for this package.
58 -
59 - # The default makeInfoURL always uses the latest -unstable release
60 - # of a package. You only need to specify your own makeInfoURL if
61 - # you want a different behaviour. Some useful makeInfoURL variants
62 - # are defined here.
63 -
64 - makeInfoURL = {
65 - unstable =
66 - easy.defaultMakeInfoURL;
67 -
68 - # A common example of makeInfoURL is 'usingBaseline'. This
69 - # makeInfoURL variant uses baseline releases for aterm,
70 - # sdf2-bundle, and strategoxt. The URLs of the baseline are
71 - # specified in 'baseline.nix'.
72 - usingBaseline = spec :
73 - let packageName = reflect.packageName spec;
74 - in if packageName == "aterm" then
75 - infoInput baseline.aterm
76 - else if packageName == "sdf2-bundle" then
77 - infoInput baseline.sdf
78 - else if packageName == "strategoxt" then
79 - infoInput baseline.strategoxt
80 - else if packageName == "stratego-libraries" then
81 - infoInput baseline.strategoLibraries
82 - else
83 - infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
84 -
85 - # Stratego/XT uses a branch of the ATerm library. For the
86 - # Meta-Environment packages to built against this branch, and
87 - # against other releases that have been built using this branch,
88 - # we use this makeInfoURL function, which attaches
89 - # '-with-aterm64' to package names.
90 -
91 - # This function is not required for Stratego/XT packages, since
92 - # these are all built using with this branch of the ATerm
93 - # library.
94 - withATerm64 = spec :
95 - let packageName = reflect.packageName spec;
96 - in if packageName == "aterm" then
97 - infoInput "http://releases.strategoxt.org/aterm64/${packageName}-unstable/"
98 - else if reflect.isRequired spec specs.aterm then
99 - infoInput "http://releases.strategoxt.org/${packageName}-with-aterm64/${packageName}-unstable/"
100 - else
101 - infoInput "http://releases.strategoxt.org/${packageName}/${packageName}-unstable/";
102 - };
103 -
104 - strategoxtArgs = {jobFile, jobAttr, subdir} :
105 - [
106 - ("../jobs/" + jobFile)
107 - jobAttr
108 - ("/data/webserver/dist/strategoxt2/" + subdir)
109 - ("http://releases.strategoxt.org/" + subdir)
110 - "/data/webserver/dist/nix-cache"
111 - "http://buildfarm.st.ewi.tudelft.nl/releases/nix-cache"
112 - ];
113 -
114 - /**
115 - * Jobs for documentation
116 - */
117 - makeAPIJob = {jobAttr, subdir, svn, extraInputs ? {}} :
118 - makeDocsJob {
119 - subdir = "api/" + subdir;
120 - inherit jobAttr svn extraInputs;
121 - };
122 -
123 - makeSyntaxJob = {jobAttr, subdir, svn, extraInputs ? {}} :
124 - makeDocsJob {
125 - subdir = "syntax/" + subdir;
126 - inherit jobAttr svn extraInputs;
127 - };
128 -
129 - makeDocsJob = {jobAttr, subdir, svn, extraInputs} :
130 - makeJob {
131 - args =
132 - strategoxtArgs {
133 - jobFile = "strategoxt/custom/docs.nix";
134 - inherit jobAttr;
135 - subdir = "docs/" + subdir;
136 - };
137 -
138 - inputs = ({
139 - checkout = svnInput svn;
140 - systems = pathInput ./systems.nix;
141 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
142 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
143 - strategoxtInfo = makeInfoURL.usingBaseline specs.strategoxt;
144 - strategoxtUtilsInfo = makeInfoURL.usingBaseline specs.strategoxtUtils;
145 - xdocInfo = makeInfoURL.usingBaseline specs.xdoc;
146 - } // extraInputs);
147 -
148 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
149 - };
150 -}
\ No newline at end of file
buildfarm/strategoxt/jobs.nix deleted
-472
@@ -1,472 +0,0 @@
1 -attrs :
2 -
3 -# check jobs-helpers.nix for documentation.
4 -with (import ./jobs-helpers.nix) attrs;
5 -
6 -{
7 -
8 - javaFrontSyntaxTrunk = makeEasyJob {
9 - spec = specs.javaFrontSyntax;
10 - makeInfoURL = makeInfoURL.usingBaseline;
11 - };
12 -
13 - javaFrontTrunk = makeEasyJob {
14 - spec = specs.javaFront;
15 - makeInfoURL = makeInfoURL.usingBaseline;
16 - };
17 -
18 - prologToolsTrunk = makeEasyJob {
19 - spec = specs.prologTools;
20 - makeInfoURL = makeInfoURL.usingBaseline;
21 - };
22 -
23 - asterTrunk = makeEasyJob {
24 - spec = specs.aster;
25 - makeInfoURL = makeInfoURL.usingBaseline;
26 - };
27 -
28 - aspectjFrontSyntaxTrunk = makeEasyJob {
29 - spec = specs.aspectjFrontSyntax;
30 - makeInfoURL = makeInfoURL.usingBaseline;
31 - };
32 -
33 - aspectjFrontTrunk = makeEasyJob {
34 - spec = specs.aspectjFront;
35 - makeInfoURL = makeInfoURL.usingBaseline;
36 - };
37 -
38 - jimpleFrontTrunk = makeEasyJob {
39 - spec = specs.jimpleFront;
40 - makeInfoURL = makeInfoURL.usingBaseline;
41 - };
42 -
43 - phpFrontTrunk = makeEasyJob {
44 - spec = specs.phpFront;
45 - makeInfoURL = makeInfoURL.usingBaseline;
46 - };
47 -
48 - sqlFrontTrunk = makeEasyJob {
49 - spec = specs.sqlFront;
50 - makeInfoURL = makeInfoURL.usingBaseline;
51 - };
52 -
53 - dryadTrunk = makeEasyJob {
54 - spec = specs.dryad;
55 - makeInfoURL = makeInfoURL.usingBaseline;
56 - };
57 -
58 - dryadCompilerTrunk = makeEasyJob {
59 - spec = specs.dryadCompiler;
60 - makeInfoURL = makeInfoURL.usingBaseline;
61 - };
62 -
63 - transformersGenericToolsTrunk = makeEasyJob {
64 - spec = specs.transformersGenericTools;
65 - makeInfoURL = makeInfoURL.usingBaseline;
66 - };
67 -
68 - transformersCToolsTrunk = makeEasyJob {
69 - spec = specs.transformersCTools;
70 - makeInfoURL = makeInfoURL.usingBaseline;
71 - };
72 -
73 - transformersCxxToolsTrunk = makeEasyJob {
74 - spec = specs.transformersCxxTools;
75 - makeInfoURL = makeInfoURL.usingBaseline;
76 - };
77 -
78 - lutinTrunk = makeEasyJob {
79 - spec = specs.lutin;
80 - makeInfoURL = makeInfoURL.usingBaseline;
81 - };
82 -
83 - magnoliaTrunk = makeEasyJob {
84 - spec = specs.magnolia;
85 - makeInfoURL = makeInfoURL.usingBaseline;
86 - };
87 -
88 - strategoxtUtilsTrunk = makeEasyJob {
89 - spec = specs.strategoxtUtils;
90 - makeInfoURL = makeInfoURL.usingBaseline;
91 - };
92 -
93 - strategoLibrariesTrunk = makeEasyJob {
94 - spec = specs.strategoLibraries;
95 - makeInfoURL = makeInfoURL.usingBaseline;
96 - };
97 -
98 - strategoShellTrunk = makeEasyJob {
99 - spec = specs.strategoShell;
100 - makeInfoURL = makeInfoURL.usingBaseline;
101 - };
102 -
103 - xdocTrunk = makeEasyJob {
104 - spec = specs.xdoc;
105 - makeInfoURL = makeInfoURL.usingBaseline;
106 - };
107 -
108 - webdslTrunk = makeEasyJob {
109 - spec = specs.webdsl;
110 - makeInfoURL = makeInfoURL.usingBaseline;
111 - };
112 -
113 - /**
114 - * Stratego/XT 0.17
115 - */
116 - atermForStrategoXT017 = makeJob {
117 - args =
118 - strategoxtArgs {
119 - jobFile = "strategoxt/releases.nix";
120 - jobAttr = "atermForStrategoXT017";
121 - subdir = "strategoxt-0.17/aterm";
122 - };
123 -
124 - inputs = {
125 - systems = pathInput ./systems.nix;
126 - atermCheckout = svnInputRev svn+ssh://svn.cwi.nl/aterm/branches/64-bit-fixes 21238;
127 - metaBuildEnvInfo = urlInput http://releases.strategoxt.org/meta-build-env/meta-build-env-0.1pre24995-50nbjf4z/release-info.xml;
128 - };
129 -
130 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
131 - };
132 -
133 - sdf2BundleForStrategoXT017 = makeJob {
134 - args =
135 - strategoxtArgs {
136 - jobFile = "strategoxt/releases.nix";
137 - jobAttr = "sdf2BundleForStrategoXT017";
138 - subdir = "strategoxt-0.17/sdf2-bundle";
139 - };
140 -
141 - inputs = {
142 - systems = pathInput ./systems.nix;
143 - atermInfo = urlInput http://releases.strategoxt.org/strategoxt-0.17/aterm/unstable/release-info.xml;
144 - ascSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/asc-support-2.3pre21097-w8slj5v8/release-info.xml;
145 - asfSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/asf-support-1.5pre19781-0a9vk2m6/release-info.xml;
146 - errorSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/error-support-1.4pre21542-5kanxhfi/release-info.xml;
147 - pgenInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/pgen-2.4pre21317-2jbx7pvy/release-info.xml;
148 - ptSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/pt-support-2.1pre21423-27y7bn5c/release-info.xml;
149 - sdfLibraryInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/sdf-library-1.0pre21293-q0kr017v/release-info.xml;
150 - sdfSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/sdf-support-2.3pre21547-2mylics2/release-info.xml;
151 - sglrInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/sglr-3.16pre20932-xh8w2ikz/release-info.xml;
152 - tideSupportInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/tide-support-1.2pre21550-yvkk4q8g/release-info.xml;
153 - toolbuslibInfo = urlInput http://buildfarm.st.ewi.tudelft.nl/releases/meta-environment/toolbuslib-0.9pre21552-w4kgsm0p/release-info.xml;
154 - };
155 -
156 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
157 - };
158 -
159 - /**
160 - * Meta-Environment
161 - */
162 - metaBuildEnvTrunk = makeEasyJob {
163 - spec = specs.metaBuildEnv;
164 - };
165 -
166 - atermTrunk = makeEasyJob {
167 - spec = specs.aterm;
168 - };
169 -
170 - atermBranch64 = makeEasyJob {
171 - spec = specs.aterm;
172 - svn = "branch64";
173 - dirName = "aterm64";
174 - };
175 -
176 - sdfLibraryTrunk = makeEasyJob {
177 - spec = specs.sdfLibrary;
178 - };
179 -
180 - /* toolbuslibTrunk = makeEasyJob {
181 - spec = specs.toolbuslib;
182 - }; */
183 -
184 - toolbuslibTrunk64 = makeEasyJob {
185 - spec = specs.toolbuslib;
186 - dirName = "toolbuslib-with-aterm64";
187 - makeInfoURL = makeInfoURL.withATerm64;
188 - };
189 -
190 - cLibraryTrunk64 = makeEasyJob {
191 - spec = specs.cLibrary;
192 - dirName = "c-library-with-aterm64";
193 - makeInfoURL = makeInfoURL.withATerm64;
194 - };
195 -
196 - configSupportTrunk64 = makeEasyJob {
197 - spec = specs.configSupport;
198 - dirName = "config-support-with-aterm64";
199 - makeInfoURL = makeInfoURL.withATerm64;
200 - };
201 -
202 - errorSupportTrunk64 = makeEasyJob {
203 - spec = specs.errorSupport;
204 - dirName = "error-support-with-aterm64";
205 - makeInfoURL = makeInfoURL.withATerm64;
206 - };
207 -
208 - tideSupportTrunk64 = makeEasyJob {
209 - spec = specs.tideSupport;
210 - dirName = "tide-support-with-aterm64";
211 - makeInfoURL = makeInfoURL.withATerm64;
212 - };
213 -
214 - relationStoresTrunk64 = makeEasyJob {
215 - spec = specs.relationStores;
216 - dirName = "relation-stores-with-aterm64";
217 - makeInfoURL = makeInfoURL.withATerm64;
218 - };
219 -
220 - ptSupportTrunk64 = makeEasyJob {
221 - spec = specs.ptSupport;
222 - dirName = "pt-support-with-aterm64";
223 - makeInfoURL = makeInfoURL.withATerm64;
224 - };
225 -
226 - ptableSupportTrunk64 = makeEasyJob {
227 - spec = specs.ptableSupport;
228 - dirName = "ptable-support-with-aterm64";
229 - makeInfoURL = makeInfoURL.withATerm64;
230 - };
231 -
232 - sglrTrunk64 = makeEasyJob {
233 - spec = specs.sglr;
234 - dirName = "sglr-with-aterm64";
235 - makeInfoURL = makeInfoURL.withATerm64;
236 - };
237 -
238 - asfSupportTrunk64 = makeEasyJob {
239 - spec = specs.asfSupport;
240 - dirName = "asf-support-with-aterm64";
241 - makeInfoURL = makeInfoURL.withATerm64;
242 - };
243 -
244 - ascSupportTrunk64 = makeEasyJob {
245 - spec = specs.ascSupport;
246 - dirName = "asc-support-with-aterm64";
247 - makeInfoURL = makeInfoURL.withATerm64;
248 - };
249 -
250 - sdfSupportTrunk64 = makeEasyJob {
251 - spec = specs.sdfSupport;
252 - dirName = "sdf-support-with-aterm64";
253 - makeInfoURL = makeInfoURL.withATerm64;
254 - };
255 -
256 - pgenTrunk64 = makeEasyJob {
257 - spec = specs.pgen;
258 - dirName = "pgen-with-aterm64";
259 - makeInfoURL = makeInfoURL.withATerm64;
260 - };
261 -
262 - sdf2BundleTrunk64 = makeEasyJob {
263 - spec = specs.sdf2Bundle;
264 - dirName = "sdf2-bundle-with-aterm64";
265 - makeInfoURL = makeInfoURL.withATerm64;
266 - };
267 -
268 - /**
269 - * API documentation
270 - */
271 - strategoLibDocsTrunk = makeAPIJob {
272 - subdir = "libstratego-lib";
273 - jobAttr = "strategoLib";
274 - svn = https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk/stratego-libraries/lib/spec;
275 - };
276 -
277 - strategoXTCDocsTrunk = makeAPIJob {
278 - subdir = "libstratego-xtc";
279 - jobAttr = "xtc";
280 - svn = https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk/stratego-libraries/xtc/lib;
281 - };
282 -
283 - strategoSGLRDocsTrunk = makeAPIJob {
284 - subdir = "libstratego-sglr";
285 - jobAttr = "sglr";
286 - svn = https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk/stratego-libraries/sglr/lib;
287 - };
288 -
289 - strategoGPPDocsTrunk = makeAPIJob {
290 - subdir = "libstratego-gpp";
291 - jobAttr = "gpp";
292 - svn = https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk/stratego-libraries/gpp/lib;
293 - };
294 -
295 - strategoRTGDocsTrunk = makeAPIJob {
296 - subdir = "libstratego-rtg";
297 - jobAttr = "rtg";
298 - svn = https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk/stratego-libraries/rtg/lib;
299 - };
300 -
301 - sdfLibrarySyntaxDocsTrunk = makeSyntaxJob {
302 - subdir = "sdf-library";
303 - jobAttr = "sdfLibrarySyntax";
304 - svn =svn+ssh://svn.cwi.nl/sdf-library/trunk/library ;
305 - };
306 -
307 - javaFrontSyntaxDocsTrunk = makeSyntaxJob {
308 - subdir = "java-front";
309 - jobAttr = "javaFrontSyntax";
310 - svn = https://svn.strategoxt.org/repos/StrategoXT/java-front/trunk/syntax/src;
311 - };
312 -
313 - jimpleFrontSyntaxDocsTrunk = makeSyntaxJob {
314 - subdir = "jimple-front";
315 - jobAttr = "jimpleFrontSyntax";
316 - svn = https://svn.strategoxt.org/repos/StrategoXT/sootxt/jimple-front/trunk/syn;
317 - };
318 -
319 - aspectjFrontSyntaxDocsTrunk = makeSyntaxJob {
320 - subdir = "aspectj-front";
321 - jobAttr = "aspectjFrontSyntax";
322 - svn = https://svn.strategoxt.org/repos/StrategoXT/aspectj-front/trunk/syntax/src;
323 - extraInputs = {
324 - javaFrontInfo = makeInfoURL.unstable specs.javaFront;
325 - aspectjFrontInfo = makeInfoURL.unstable specs.aspectjFront;
326 - };
327 - };
328 -
329 - dryadDocsTrunk = makeAPIJob {
330 - subdir = "libdryad";
331 - jobAttr = "dryadLibrary";
332 - svn = https://svn.strategoxt.org/repos/StrategoXT/dryad/trunk/lib;
333 - extraInputs = {
334 - javaFrontInfo = makeInfoURL.unstable specs.javaFront;
335 - };
336 - };
337 -
338 - phpFrontSyntaxDocsTrunk = makeSyntaxJob {
339 - subdir = "php-front";
340 - jobAttr = "phpFrontSyntax";
341 - svn = https://svn.strategoxt.org/repos/psat/php-front/trunk/src/grammar;
342 - };
343 -
344 - phpFrontLibraryDocsTrunk = makeAPIJob {
345 - subdir = "libphp-front";
346 - jobAttr = "phpFrontLibrary";
347 - svn = https://svn.strategoxt.org/repos/psat/php-front/trunk/src/lib;
348 - };
349 -
350 - /**
351 - * Complicated jobs
352 - */
353 - strategoxtTrunk = makeJob {
354 - args =
355 - strategoxtArgs {
356 - jobFile = "strategoxt/strategoxt.nix";
357 - jobAttr = "trunkRelease";
358 - subdir = "strategoxt";
359 - };
360 -
361 - inputs = {
362 - strategoxtCheckout = svnInput https://svn.strategoxt.org/repos/StrategoXT/strategoxt/trunk;
363 - systems = pathInput ./systems.nix;
364 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
365 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
366 - strategoxtBaselineTarball = urlInput baseline.strategoxtBootstrap;
367 - };
368 -
369 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl" "l.c.l.kats@tudelft.nl"];
370 - };
371 -
372 - strategoxtManualTrunk = makeJob {
373 - args =
374 - strategoxtArgs {
375 - jobFile = "strategoxt/custom/manual.nix";
376 - jobAttr = "trunkRelease";
377 - subdir = "strategoxt-manual";
378 - };
379 -
380 - inputs = {
381 - strategoxtManualCheckout = svnInput https://svn.strategoxt.org/repos/StrategoXT/strategoxt-manual/trunk;
382 - systems = pathInput ./systems.nix;
383 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
384 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
385 - strategoxtInfo = makeInfoURL.usingBaseline specs.strategoxt;
386 - };
387 -
388 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
389 - };
390 -
391 - strategoxtBasePackages = makeJob {
392 - args =
393 - strategoxtArgs {
394 - jobFile = "strategoxt/custom/strategoxt-packages.nix";
395 - jobAttr = "baseRelease";
396 - subdir = "strategoxt-base-packages";
397 - };
398 -
399 - inputs = {
400 - systems = pathInput ./systems.nix;
401 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
402 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
403 - strategoxtInfo = makeInfoURL.unstable specs.strategoxt;
404 - };
405 -
406 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
407 - };
408 -
409 - strategoxtPackages = makeJob {
410 - args =
411 - strategoxtArgs {
412 - jobFile = "strategoxt/custom/strategoxt-packages.nix";
413 - jobAttr = "release";
414 - subdir = "strategoxt-packages";
415 - };
416 -
417 - inputs = {
418 - systems = pathInput ./systems.nix;
419 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
420 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
421 - strategoxtInfo = makeInfoURL.usingBaseline specs.strategoxt;
422 - strategoLibrariesInfo = makeInfoURL.usingBaseline specs.strategoLibraries;
423 - strategoxtUtilsInfo = makeInfoURL.unstable specs.strategoxtUtils;
424 - strategoShellInfo = makeInfoURL.unstable specs.strategoShell;
425 - javaFrontInfo = makeInfoURL.unstable specs.javaFront;
426 - dryadInfo = makeInfoURL.unstable specs.dryad;
427 - transformersGenericToolsInfo = makeInfoURL.unstable specs.transformersGenericTools;
428 - phpFrontInfo = makeInfoURL.unstable specs.phpFront;
429 - };
430 -
431 - notifyAddresses = ["karltk@strategoxt.org" "martin.bravenboer@gmail.com" "e.visser@tudelft.nl"];
432 - };
433 -
434 -
435 - strategoxtBootstrapBranch = makeJob {
436 - args =
437 - strategoxtArgs {
438 - jobFile = "strategoxt/strategoxt-ng.nix";
439 - jobAttr = "release";
440 - subdir = "strategoxt-bootstrap";
441 - };
442 -
443 - inputs = rec {
444 - strategoxtCheckout = svnInput (builtins.getAttr packagePath.string specs easy.fakePkgs).svn.trunk;
445 - systems = pathInput ./systems.nix;
446 - atermInfo = makeInfoURL.usingBaseline specs.aterm;
447 - sdf2BundleInfo = makeInfoURL.usingBaseline specs.sdf2Bundle;
448 - strategoxtBaselineTarball = urlInput baseline.strategoxtBootstrap;
449 - packagePath = {type = "string"; string = "strategoxtBootstrap";};
450 - };
451 -
452 - notifyAddresses = ["nicolas.b.pierron@gmail.com"];
453 - };
454 -
455 -
456 -}
457 -
458 -
459 -/*
460 - javaFrontSyntaxTrunk2 = makeStrategoXTJob {
461 - dirName = "java-front-syntax2";
462 - inputs = {
463 - javaFrontSyntaxCheckout = attrs.svnInput https://svn.strategoxt.org/repos/StrategoXT/java-front/trunk/syntax;
464 - atermInfo = easy.baseline.aterm;
465 - sdf2BundleInfo = easy.baseline.sdf;
466 - strategoxtInfo = easy.baseline.strategoxt;
467 - };
468 -
469 - notifyAddresses = ["martin.bravenboer@gmail.com"];
470 - jobAttr = "javaFrontSyntaxUnstable";
471 - };
472 -*/
buildfarm/strategoxt/systems.nix deleted
-13
@@ -1,13 +0,0 @@
1 -/**
2 - * List of available systems in the TUD buildfarm.
3 - */
4 -[ "i686-linux"
5 - "x86_64-linux"
6 - "i686-darwin"
7 -
8 -]
9 -
10 - # "i686-cygwin"
11 - # "powerpc-darwin"
12 - # "powerpc-linux"
13 - # "i686-freebsd"