aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap/buildenv.sh
Commit message (Collapse)AuthorAge
* Do not require users to set TMPDIR for bootstrap on Windows.Gravatar Dmitry Lomov2016-06-24
| | | | | | | | | Fixes 1444. -- Change-Id: If9afa2bebcd35b0c0882685588d8e1f3b18f5344 Reviewed-on: https://bazel-review.googlesource.com/#/c/3890/ MOS_MIGRATED_REVID=125771832
* Fix build when no CHANGELOG.md exists.Gravatar Damien Martin-Guillerez2016-03-18
| | | | | | | This was actually not breaking the build, just outputing an error -- MOS_MIGRATED_REVID=117481375
* Add the last Bazel version number to ./compile.shGravatar Damien Martin-Guillerez2016-03-14
| | | | | | | | | | | All Bazel should now contain the latest version with a date modifier to ensure we can track all Bazel builds out there. It is especially important for #1014. -- Change-Id: I8d17d9e1660b104c2b8623d5a8a06d010d044ea7 Reviewed-on: https://bazel-review.googlesource.com/3070 MOS_MIGRATED_REVID=117120584
* Allow outputting the progress of Bazel's build.Gravatar Julio Merino2016-02-26
| | | | | | | | | | | | Rename run_silent to run and add a global VERBOSE variable that tunes whether the run function prints its output or not. This is for better debugging possibilities of Bazel's self-build, though compile.sh remains silent as before and only displays the command's output in case of an error. -- MOS_MIGRATED_REVID=115599355
* Improve handling of exit routines to ensure we respect the exit status.Gravatar Julio Merino2016-02-26
| | | | | | | | | | As part of this, change atexit to receive the name of a function instead of just a chunk of code. This way, we can also control the return value of each individual atexit function and report it to the user, should these routines fail when the program apparently succeeded. -- MOS_MIGRATED_REVID=115575895
* On Windows, build ``bazel.exe`` instead of just ``bazel``.Gravatar Dmitry Lomov2016-02-16
| | | | | | | Needed for #276. -- MOS_MIGRATED_REVID=114693711
* Update buildenv.sh to detect aarch64 as ARMGravatar jmtatsch2016-01-26
| | | | | | | | Update buildenv.sh to detect aarch64 as on Nvidias Jetson TX1 as ARM architecture. Final goal is to build tensorflow on jetson tx1 -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/814 MOS_MIGRATED_REVID=112967980
* [ci] Do not fail on test failureGravatar Damien Martin-Guillerez2015-10-02
| | | | | | | | | | | Instead set a BUILD_UNSTABLE=1 environment variable such as a subsequent change to Jenkins can mark our build as unstable instead of failed when we have test flakiness. This would also allow to test the Tutorial with flaky builds. -- MOS_MIGRATED_REVID=104501213
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Requires JDK 8Gravatar Damien Martin-Guillerez2015-09-15
| | | | | | | | | | | | This change deprecate JDK 7 as JavaBuilder follow changes in Java 9 and might use Java 8 features. We will maintain a build with the JDK 7 as long as possible but this build won't include updates in JavaBuilder. RELNOTES[INC]: Bazel requires JDK 8 to run. -- MOS_MIGRATED_REVID=103069207
* Unbreak the CI on DarwinGravatar Damien Martin-Guillerez2015-09-04
| | | | | | | How comes this is ok on linux??? -- MOS_MIGRATED_REVID=102338200
* Setup the ci build to test also Android tests when availableGravatar Damien Martin-Guillerez2015-09-04
| | | | | | | | | | | | With this script, the easiest way to run the test suite is now: bash -c "export ANDROID_SDK_PATH=$HOME/bin/android-sdk-linux; \ export ANDROID_NDK_PATH=$HOME/bin/android-ndk-r10e; \ source ./scripts/ci/build.sh; \ bazel_build output/ci" -- MOS_MIGRATED_REVID=102334239
* Add native support for linux on ARM Cpu (32 bits)Gravatar Zhong Wang2015-08-12
| | | | | | | -- Change-Id: Ia70ca1b8482e10bc1ac91799aa238f8613e5c824 Reviewed-on: https://bazel-review.googlesource.com/#/c/1801 MOS_MIGRATED_REVID=100476467
* Make bazel compile error out when there's a run_silent command that failsGravatar Kristina Chodorow2015-06-25
| | | | | | | Also made it print the output for the problem command to make debugging easier. -- MOS_MIGRATED_REVID=96783685
* Disable tests that requires JDK 8 when using compile.shGravatar Damien Martin-Guillerez2015-06-24
| | | | | | | Also fix the OS X travis build file. -- MOS_MIGRATED_REVID=96683399
* Lower the requirement to Java 7Gravatar Damien Martin-Guillerez2015-06-19
| | | | | | | | | Now that we are using the error-prone javac, there is no need to impose Java 8. However, because some of our tests are targetting Java 8, developer should still use a JDK 8 to tests. -- MOS_MIGRATED_REVID=96400914
* Improve platform and CPU detection, use the correct protoc binary for the ↵Gravatar Philipp Wollermann2015-06-12
| | | | | | | | | running system. Tested on OS X 10.10, Debian 8.1 (x86_64) and Debian 8.1 (i686). -- MOS_MIGRATED_REVID=95819163
* Fix order of redirection in compile.shGravatar Damien Martin-Guillerez2015-06-11
| | | | | | | | | | | This avoid having garbage warning when compiling Java code because we use the internal API of Javac. Also add a run_silent around the protobuf compilation. Fixes #239 -- MOS_MIGRATED_REVID=95707763
* Reorganized compile.shGravatar Damien Martin-Guillerez2015-06-10
Now the blessed Bazel binary is self-hosted and correctly labeled. All tools are also built using Bazel and labeled with the release. At the end of the compilation, the output folder only host the Bazel binary now. We use temporary folders to store the intermediate artifacts. Also integrated ./bootstrap_test.sh in compile.sh so there is only one script for everything regarding bootstraping Bazel. -- Change-Id: Idadbd075e7b8ecb6e306b919b7a73c647c5cfbae Reviewed-on: https://bazel-review.googlesource.com/#/c/1460/ MOS_MIGRATED_REVID=95625880