Skip to content

Commit

Permalink
Update to 62.0.3178.0 (#2)
Browse files Browse the repository at this point in the history
* Update to 62.0.3178.0

* Update clang version.
  • Loading branch information
sayrer authored Aug 9, 2017
1 parent c98cb32 commit b39acc2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ The files in the `scripts/` directory are written in Python. Follow these [instr

Once that's working, type `pip install requests` to install the necessary dependencies.

From the root of this repository, type `python scripts/generate_workspace.py --rev="61.0.3153.4"` where --rev is the Chromium tag you wish to pull from. The script will print status messages to `stderr` and write a file similar to toolchains/repositories.bzl to `stdout`.
From the root of this repository, type `python scripts/generate_workspace.py --rev="62.0.3178.0"` where --rev is the Chromium tag you wish to pull from. The script will print status messages to `stderr` and write a file similar to toolchains/repositories.bzl to `stdout`.
2 changes: 1 addition & 1 deletion src/version_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TEST(CompilerMeta, AppleBuild) {
// __apple_build_version__ shouldn't be defined in the Chromium toolchain
ASSERT_TRUE(false);
#else
ASSERT_GE(__clang_major__, 5);
ASSERT_GE(__clang_major__, 6);
#endif
}

Expand Down
14 changes: 7 additions & 7 deletions toolchains/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

# Defines external repositories needed by bazel-toolchains.
# Chromium toolchain corresponds to Chromium 61.0.3163.25.
# Chromium toolchain corresponds to Chromium 62.0.3178.0.

def bazel_toolchains_repositories():
org_chromium_clang_mac()
Expand All @@ -29,24 +29,24 @@ def org_chromium_clang_mac():
native.new_http_archive(
name = 'org_chromium_clang_mac',
build_file = str(Label('//build_files:org_chromium_clang_mac.BUILD')),
sha256 = '29d3bde888041fe3d43a756daaa79cc5c16d83af6c20ccac05f5f7b9e2db5efb',
urls = ['https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-307486-1.tgz'],
sha256 = '6687750ecf56aa3740fa4f6497a16518b50c3a3c8a89465dba45d799791fb06d',
urls = ['https://commondatastorage.googleapis.com/chromium-browser-clang/Mac/clang-308728-3.tgz'],
)

def org_chromium_clang_linux_x64():
native.new_http_archive(
name = 'org_chromium_clang_linux_x64',
build_file = str(Label('//build_files:org_chromium_clang_linux_x64.BUILD')),
sha256 = '8e0b56a133041f6bac341528224b7ba93a93ff3bb407b238feacbcf7cd63be0b',
urls = ['https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-307486-1.tgz'],
sha256 = 'fa233796a7f5e8a8a0f1c00699f3a18ad04834226a06519f8f29d49bc5d7842f',
urls = ['https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-308728-3.tgz'],
)

def org_chromium_sysroot_linux_x64():
native.new_http_archive(
name = 'org_chromium_sysroot_linux_x64',
build_file = str(Label('//build_files:org_chromium_sysroot_linux_x64.BUILD')),
sha256 = 'ad9bf71fad4e37e1cae53709bcd95c96c4bb9114f1e1551d60947df3846551aa',
urls = ['https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/ebb50a1c59e577567470b00582f81ed14222353e/debian_jessie_amd64_sysroot.tgz'],
sha256 = '849abc23f3d6438409e720a89c5101e49ac18754feb947efcaa701e6d30de77b',
urls = ['https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/e6ac45fd042859d2240e5d432c521df01ad5b7bf/debian_jessie_amd64_sysroot.tar.xz'],
)

def org_chromium_binutils_linux_x64():
Expand Down
2 changes: 1 addition & 1 deletion tools/cpp/CROSSTOOL
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ toolchain {
compiler_flag: "-isystem"
compiler_flag: "external/org_chromium_libcxx/include"
compiler_flag: "-isystem"
compiler_flag: "external/org_chromium_clang_linux_x64/lib/clang/5.0.0/include"
compiler_flag: "external/org_chromium_clang_linux_x64/lib/clang/6.0.0/include"
compiler_flag: "-isystem"
compiler_flag: "external/org_chromium_sysroot_linux_x64/usr/include/x86_64-linux-gnu"
compiler_flag: "-isystem"
Expand Down

0 comments on commit b39acc2

Please sign in to comment.