aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
Commit message (Collapse)AuthorAge
* Add hash sum for mount_path_toolchainGravatar Klaus Aehlig2018-06-12
| | | | | | | | Even for tests we should not download random files from the internet without ensuring that we get what we expect. Change-Id: I4b9ef3f89c1ea12a4b883d833fb598196f9a7db3 PiperOrigin-RevId: 200201636
* update bazel's embedded jdk to jdk9Gravatar cushon2018-06-11
| | | | | | | | | | | - Updates the embedded JDK to Azul Zulu 9.0.7 - All integration tests use Bazel with the embedded JDK Also updated: http://storage.googleapis.com/bazel-mirror/openjdk/index.html Closes #5312, #5314, #5315 PiperOrigin-RevId: 200055008
* distfile: pack the archives needed later in the buildGravatar Klaus Aehlig2018-05-24
| | | | | | | | | | | | ...and point --experimental_distdir there, so that offline builds are again possible out of the distribution archive. Related #5175. Fixes #5202. To be cherry-picked for #5056. Change-Id: I634296e9d83e4e18ed966b42f35acc63061259d9 PiperOrigin-RevId: 197866998
* update bazel_toolchains to latest versionGravatar buchgr2018-05-22
| | | | | | | Taken from https://releases.bazel.build/bazel-toolchains.html RELNOTES: None PiperOrigin-RevId: 197551496
* Remove re2 from Bazel.Gravatar jingwen2018-05-14
| | | | | | | The last usages of re2 in Bazel were removed in https://github.com/bazelbuild/bazel/commit/04808943e1c18ed670535d531a4dd435587d584b RELNOTES: None. PiperOrigin-RevId: 196498374
* Update bazel_toolchains in Bazel's WORKSPACE file to latest release.Gravatar philwo2018-04-23
| | | | | RELNOTES: None. PiperOrigin-RevId: 193906990
* Bump @desugar_jdk_libs dependency, which pulls in build file changes and a ↵Gravatar kmb2018-04-17
| | | | | | | | new class, and adjust its build accordingly. RELNOTES: None. PiperOrigin-RevId: 193177895
* hook up Bazel's implicit dependencies for legacy java 8 support in ↵Gravatar kmb2018-04-11
| | | | | | //tools/android PiperOrigin-RevId: 192509068
* Fold in warning and error output into client logging.Gravatar ccalvarin2018-03-23
| | | | | | | To replace blaze_util::die and blaze_util::pdie as well, FATAL statements need to accept blaze exit codes. RELNOTES: None. PiperOrigin-RevId: 190285798
* Add dependency on googletest, so we can use gmock along with gtest.Gravatar ccalvarin2018-03-23
| | | | | | | third_party/gtest can go away after this. RELNOTES: None. PiperOrigin-RevId: 190221581
* WORKSPACE file: fix sha256 of j2objc-2.0.3.zipGravatar Laszlo Csomor2018-03-13
| | | | | | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/4801 Change-Id: I6a66a4d0cb3651484af48a10f5f9eabbf569a8dc Closes #4826. Change-Id: I6a66a4d0cb3651484af48a10f5f9eabbf569a8dc PiperOrigin-RevId: 188866578
* Update Bazel's embedded OpenJDK to Azul Zulu 1.8.0_163-b01.Gravatar Philipp Wollermann2018-03-05
| | | | | | | | RELNOTES: None. Closes #4710. PiperOrigin-RevId: 187857722
* Remove Bazel's Docker tests.Gravatar Philipp Wollermann2018-01-24
| | | | | | | | | | | | | | We'll just replace them with either native support for running tests inside Docker containers on CI or with VMs running the operating system. This gets rid of the "let's download 8 GB of Docker images" step when running `bazel build //...`. RELNOTES: None. Closes #4506. PiperOrigin-RevId: 183078052
* Update pin for bazel-toolchains to latest versionGravatar xingao2018-01-16
| | | | | | https://github.com/bazelbuild/bazel-toolchains/releases/tag/f3b0970 PiperOrigin-RevId: 182058527
* Update pin for bazel-toolchains to latest versionGravatar yiyu2017-12-07
| | | | | | https://github.com/bazelbuild/bazel-toolchains/releases/tag/b49ba36 PiperOrigin-RevId: 178294425
* Update version of re2Gravatar laurentlb2017-12-06
| | | | | | | | | The latest version of re2 contains fixes that makes it compatible with new changes in Bazel. Fixes #4233 RELNOTES: None. PiperOrigin-RevId: 178087275
* Retrieve bazel_sandbox_test data dependency using http_file rule.Gravatar Xin Gao2017-11-07
| | | | | | Fixes #2355. PiperOrigin-RevId: 174871644
* Update pin for bazel-toolchains to latest versionGravatar Googler2017-10-25
| | | | PiperOrigin-RevId: 173304095
* Update "mirror.bazel.build" urls to use https. (All traffic to *.bazel.* is ↵Gravatar Googler2017-10-24
| | | | | | | now routed through https, so those http requests currently cause a redirect. This removes the redirect.) RELNOTES: Update "mirror.bazel.build" urls to use https. PiperOrigin-RevId: 173175888
* add option to singlejar to double-check correct default and static interface ↵Gravatar kmb2017-10-12
| | | | | | | | method desugaring for Android. RELNOTES: none PiperOrigin-RevId: 171891682
* Update bazel-toolchains repo to use Bazel 0.6.0 toolchain configs.Gravatar xingao2017-10-06
| | | | PiperOrigin-RevId: 171048721
* Update bazel-toolchains repo to use Bazel 0.5.4 toolchain configs.Gravatar xingao2017-09-07
| | | | PiperOrigin-RevId: 167720760
* Update third_party/protobuf from 3.2.0 to 3.4.0Gravatar Vladimir Moskva2017-09-01
| | | | | Change-Id: I3648aadad5895f80051ada39d0ca862dd437cc58 PiperOrigin-RevId: 167266028
* Update the bundled OpenJDK to zulu8.23.0.3-jdk8.0.144.Gravatar Philipp Wollermann2017-09-01
| | | | | Change-Id: I08323cfb98b6d52017bc1285d9d63370a20378eb PiperOrigin-RevId: 167259969
* remote: Return exit code 34 for remote caching/execution errors.Gravatar buchgr2017-09-01
| | | | | | | | | | For any errors that are due to failures in the remote caching / execution layers Bazel now returns exit code 34 (ExitCode.REMOTE_ERROR). This includes errors where the remote cache / executor is unreachable or crashes. It does not include errors if the test / build failure is due to user errors i.e. compilation or test failures. PiperOrigin-RevId: 167259236
* Update third_party/protobuf from 3.2.0 to 3.4.0Gravatar Vladimir Moskva2017-09-01
| | | | Change-Id: I3648aadad5895f80051ada39d0ca862dd437cc58
* Moves the bazel_j2objc repository definition from j2objc.WORKSPACE to the mainGravatar Googler2017-08-31
| | | | | | | | WORKSPACE file, removing j2objc.WORKSPACE. Updates J2ObjC version to 2.0.3, which has its own BUILD file. RELNOTES: J2ObjC version updated to 2.0.3. PiperOrigin-RevId: 167135399
* Make the srcs test be a Bazel testGravatar Damien Martin-Guillerez2017-08-23
| | | | | | | | | | | | | | | | ./compile.sh srcs has been broken at several time because this test cannot run on our internal presubmit (more precisely, don't see most breakage on our internal presubmit). Making this test a Bazel test should fix that at the same time reducing the scope of ./compile.sh (with the other move of the determinism test, this make compile.sh being only the bootstrapping script). To do so, we fetch the list of sources in the repository through a skylark repository and use genquery to interrogate the list of sources in //:srcs filegroup. Change-Id: If83af28a366cc0c52a7327ce9ed2489c7e88532f PiperOrigin-RevId: 166064682
* Send Bazel startup options to server.Gravatar ccalvarin2017-08-16
| | | | | | | | | | | Send the startup options tagged with their origin so that the server has correct information about the command line as the client received it. Removes the unconditional stderr printing of all bazelrc startup options in the bazel client. Instead, the startup options are sent to the server and the same informational printing is gated on the --announce_rc option. This avoids unconditional log spam to stderr early in startup. If the server is unreachable or there are errors parsing startup options, the message is still printed to stderr. Fixes https://github.com/bazelbuild/bazel/issues/2530. RELNOTES: --announce_rc now controls whether bazelrc startup options are printed to stderr. PiperOrigin-RevId: 165211007
* Automated rollback of commit c3e0660bf8d5c6e32ae817f8a3f52c7fc6bf039e.Gravatar dmarting2017-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Rollforward with fix *** Original change description *** Automated rollback of commit e5f970906594d9097bb7c3736b2de1750cc8655f. *** Reason for rollback *** Break apple test on darwin. *** Original change description *** Refactor docker tests to be buildable without docker. This make this build a bit non-deterministic since the way it will be built depend on wether docker is installed or not. We now use the docker_pull from bazelbuild/continuous-integration to generate the base docker images and generate a fake docker binary that j... *** PiperOrigin-RevId: 162731090
* Internal changeGravatar aehlig2017-07-20
| | | | PiperOrigin-RevId: 162601644
* Automated rollback of commit e5f970906594d9097bb7c3736b2de1750cc8655f.Gravatar dmarting2017-07-20
| | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Break apple test on darwin. *** Original change description *** Refactor docker tests to be buildable without docker. This make this build a bit non-deterministic since the way it will be built depend on wether docker is installed or not. We now use the docker_pull from bazelbuild/continuous-integration to generate the base docker images and generate a fake docker binary that just error out when docker is not found so test will fails. Note that the docker_pull is set to timeout after an hour and can be extremely slow... *** PiperOrigin-RevId: 162598046
* Internal changeGravatar Googler2017-07-20
| | | | PiperOrigin-RevId: 162532778
* Refactor docker tests to be buildable without docker.Gravatar Damien Martin-Guillerez2017-07-19
| | | | | | | | | | | | | | | | | This make this build a bit non-deterministic since the way it will be built depend on wether docker is installed or not. We now use the docker_pull from bazelbuild/continuous-integration to generate the base docker images and generate a fake docker binary that just error out when docker is not found so test will fails. Note that the docker_pull is set to timeout after an hour and can be extremely slow so we also set it to non quiet. Fixes #3278. Change-Id: I98d5b436e424f53981e113c1a4fd1346a5564df7 PiperOrigin-RevId: 162476033
* Add bazel mirror url for bazel_toolchains external repo.Gravatar xingao2017-07-14
| | | | PiperOrigin-RevId: 161850684
* Add bazel-toolchains repository which will be used to test remote executionGravatar Googler2017-07-13
| | | | PiperOrigin-RevId: 161693427
* Move the docker tests in src/test/dockerGravatar dmarting2017-06-27
| | | | | | | | | | | | This is a better location and tools/cpp is packaged in embedded_tools that make the test ends-up in embedded_tools, which is requiring network access to build embedded_tools! Side-effect: have to correctly mock the bazel workspace file on a couple of tests. This is blocking on https://bazel-review.googlesource.com/c/12350/ PiperOrigin-RevId: 160265524
* Add @googleapis repository to WORKSPACEGravatar Jakob Buchgraber2017-05-31
| | | | | Change-Id: I2c588a4e965f4f0f15db8d447c63307b1baf1cd0 PiperOrigin-RevId: 157462273
* Update bundled OpenJDK to azul-zulu-8.21.0.1-jdk8.0.131.Gravatar Philipp Wollermann2017-05-19
| | | | | | | | A mirror and source code are provided at the usual location: http://mirror.bazel.build/openjdk/index.html Change-Id: I081df934c2bda7e9cc03246dfbdeca75404acc97 PiperOrigin-RevId: 156302005
* Add the upstream URLs for Azul Zulu to Bazel's WORKSPACE as a secondary source.Gravatar philwo2017-05-09
| | | | PiperOrigin-RevId: 155511878
* Update protobuf dependency to 3.2.0Gravatar Jakob Buchgraber2017-05-02
| | | | | Change-Id: I32f6b16955ecefc242af8d9261418452d698c9ff PiperOrigin-RevId: 154812955
* Revert "protobuf: Update protobuf to @laszlocsomor's master at commit 421d909."Gravatar Jakob Buchgraber2017-04-14
| | | | | | | This reverts commit 5235d06159ba6fee412bee261ea7867d061252b0. Unfortunately, we noticed several build errors / test failures internally due this change.
* protobuf: Update protobuf to @laszlocsomor's master at commit 421d909.Gravatar Jakob Buchgraber2017-04-14
| | | | | | | | | | | | Update protobuf to @laszlocsomor's fork of protobuf. This is essentially the development version of protobuf 3.2.0 and windows specific fixes from laszlo. Those fixes will be merged into protobuf soon: https://github.com/google/protobuf/pull/2969). For instructions on how to update protobuf for bazel see README.bazel.md. Change-Id: Ic1daafe30270cb6bcc6231e6c94fb670af0475e7
* Revert "protobuf: Update protobuf to @laszlocsomor's master at commit 421d909."Gravatar Jakob Buchgraber2017-04-13
| | | | This reverts commit ea82aa115794b019472b44d4f94ed902c1217f30.
* protobuf: Update protobuf to @laszlocsomor's master at commit 421d909.Gravatar Jakob Buchgraber2017-04-13
| | | | | | | | | | | | Update protobuf to @laszlocsomor's fork of protobuf. This is essentially the development version of protobuf 3.2.0 and windows specific fixes from laszlo. Those fixes will be merged into protobuf soon: https://github.com/google/protobuf/pull/2969). For instructions on how to update protobuf for bazel see README.bazel.md. Change-Id: I4f663955b0baeea3232b69ce32d9292427f5274a
* Simplify the steps needed to run android_integration_test.Gravatar Adam Michael2017-03-24
| | | | | | | | | | | | As of Bazel 0.4.5, the android_sdk_for_test and android_ndk_for_test are bound in android.WORKSPACE, so we do not need to include them in the main Bazel WORKSPACE file. I've update the comments to reflect that all that is needed to run the tests is android_sdk_repository and android_ndk_repository and the environment variables that they read. Also, delete scripts/workspace_user.sh. All of its functionality (reading environment variables, detecting api levels, build tools versions) is now part of android_{s,n}dk_repository. Fixes https://github.com/bazelbuild/bazel/issues/2284. -- PiperOrigin-RevId: 151032551 MOS_MIGRATED_REVID=151032551
* Build a version of Bazel with a bundled OpenJDK inside the binary.Gravatar Philipp Wollermann2017-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're using Azul Systems, Inc.'s Zulu® OpenJDK build[1], as it's a good vanilla build of OpenJDK available for our three most important platforms: zulu8.20.0.5-jdk8.0.121-linux_x64.tar.gz zulu8.20.0.5-jdk8.0.121-macosx_x64.zip zulu8.20.0.5-jdk8.0.121-win_x64.zip You can build & run a Bazel binary with an embedded JDK by simple doing: bazel build //src:bazel_with_jdk bazel-bin/src/bazel_with_jdk info The "bazel license" command prints the license of the embedded OpenJDK. We mirror the binaries and sources of the OpenJDK used for bundling on this website: https://bazel-mirror.storage.googleapis.com/openjdk/index.html RELNOTES: Bazel can now be built with a bundled version of the OpenJDK. This makes it possible to use Bazel on systems without a JDK, or where the installed JDK is too old. [1] http://www.azul.com/downloads/zulu/ -- PiperOrigin-RevId: 150440467 MOS_MIGRATED_REVID=150440467
* Revert "Upgrade //third_party/protobuf to v3.2.0"Gravatar Irina Iancu2017-02-24
| | | | | | | | | | | | | This reverts commit 2346f5a01561f695a2b2ba7655359d5020105077. It breaks bazel build in freebsd[1]. The solution is to patch https://svnweb.freebsd.org/ports/head/devel/protobuf/files/. I rolled-back this since the other builds will not automatically start if Bazel is broken. [1] http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=freebsd-11/1312/ Change-Id: I7e939a4293d799ab6dd67f93d219d1efdf4cd901
* Upgrade //third_party/protobuf to v3.2.0Gravatar Carmi Grushko2017-02-23
| | | | | | | with some backports from HEAD (:java_toolchain, internal_gen_well_known_protos_java) Change-Id: I54be8809f411ec8cb02203b478f699e1fccb5f62
* --proto_compiler points at @com_google_protobuf//:protocGravatar Carmi Grushko2017-02-17
| | | | | | | | This allows proto_library to be used out of the box by adding a repository entry that points to the protobuf distro in one's WORKSPACE file. -- PiperOrigin-RevId: 147808147 MOS_MIGRATED_REVID=147808147