1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Add verbose flag to prevent javac build timeouts
Author: Yun Peng <pcloudy@google.com>
Forwarded: not-needed
Last-Update: 2021-02-02
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -139,7 +139,7 @@
# Useful if your system chooses too small of a max heap for javac.
# We intentionally rely on shell word splitting to allow multiple
# additional arguments to be passed to javac.
- run "${JAVAC}" -classpath "${classpath}" -sourcepath "${sourcepath}" \
+ run "${JAVAC}" -verbose -classpath "${classpath}" -sourcepath "${sourcepath}" \
-d "${output}/classes" -source "$JAVA_VERSION" -target "$JAVA_VERSION" \
-encoding UTF-8 ${BAZEL_JAVAC_OPTS} "@${paramfile}"
@@ -165,7 +165,7 @@
log "Creating $name.jar..."
echo "Main-Class: $mainClass" > $output/MANIFEST.MF
- run "$JAR" cmf $output/MANIFEST.MF $output/$name.jar $packages "$@"
+ run "$JAR" cmfv $output/MANIFEST.MF $output/$name.jar $packages "$@"
}
HOW_TO_BOOTSTRAP='
|