Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=6 |
4 |
EAPI=6 |
5 |
|
5 |
|
6 |
inherit bash-completion-r1 java-pkg-2 |
6 |
inherit bash-completion-r1 java-pkg-2 multiprocessing |
7 |
|
7 |
|
8 |
DESCRIPTION="Fast and correct automated build system" |
8 |
DESCRIPTION="Fast and correct automated build system" |
9 |
HOMEPAGE="http://bazel.io/" |
9 |
HOMEPAGE="http://bazel.io/" |
Lines 36-46
src_compile() {
Link Here
|
36 |
# R: /proc/24939/setgroups |
36 |
# R: /proc/24939/setgroups |
37 |
# C: /usr/lib/systemd/systemd |
37 |
# C: /usr/lib/systemd/systemd |
38 |
addpredict /proc |
38 |
addpredict /proc |
|
|
39 |
export EXTRA_BAZEL_ARGS="--jobs=$(makeopts_jobs)" |
39 |
VERBOSE=yes ./compile.sh || die |
40 |
VERBOSE=yes ./compile.sh || die |
40 |
# Use standalone strategy to deactivate the bazel sandbox, since it |
41 |
# Use standalone strategy to deactivate the bazel sandbox, since it |
41 |
# conflicts with FEATURES=sandbox. |
42 |
# conflicts with FEATURES=sandbox. |
42 |
echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \ |
43 |
echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \ |
43 |
> "${T}/bazelrc" || die |
44 |
> "${T}/bazelrc" || die |
|
|
45 |
echo "build --jobs=$(makeopts_jobs)" >> "${T}/bazelrc" || die |
44 |
output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die |
46 |
output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die |
45 |
mv bazel-bin/scripts/bazel-complete.bash output/ || die |
47 |
mv bazel-bin/scripts/bazel-complete.bash output/ || die |
46 |
} |
48 |
} |
47 |
- |
|
|