From f82bb90c4020f76f545ebfaf2b558994a5f20cb6 Mon Sep 17 00:00:00 2001 From: Eloston Date: Wed, 21 Mar 2018 07:05:31 +0000 Subject: [PATCH] windows: Move LLVM info from BUILDING.md into extra_deps.ini --- BUILDING.md | 3 --- .../config_bundles/windows/extra_deps.ini | 20 ++++++++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index a18a5a0d..3b849f72 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -96,9 +96,6 @@ When installing the SDK, the "Debugging Tools for Windows" feature must be enabl 1. Setup the following: - * [LLVM](https://llvm.org/) 6.0.0 or newer. - * To use LLVM's pre-built binary, download the `Clang for Windows (64-bit)` version and unpack it with 7-zip into third_party/llvm-build/Release+Asserts in the buildspace tree. - * *Developer note*: If the current stable version of LLVM is causing problems with the build, try matching Google's LLVM version (defined by the `CLANG_REVISION` variable in by downloading a snapshot build at the version specified by `CLANG_REVISION` and `VERSION` constants in `tools/clang/scripts/update.py`. For example, revision 123456 of LLVM 9.8.7 64-bit Windows would be: `http://prereleases.llvm.org/win-snapshots/LLVM-9.8.7-r123456-win64.exe` (link derived from [LLVM Snapshot Builds](http://llvm.org/builds/)) * Python 2 for scripts in Chromium * Python 3 for buildkit * [Ninja](https://ninja-build.org/) diff --git a/resources/config_bundles/windows/extra_deps.ini b/resources/config_bundles/windows/extra_deps.ini index c39724be..1757d441 100644 --- a/resources/config_bundles/windows/extra_deps.ini +++ b/resources/config_bundles/windows/extra_deps.ini @@ -1,13 +1,27 @@ -# Extra dependencies not included in the main Chromium source archive -# For now, contains the heavily modified syzygy project that builds swapimport.exe +# Extra dependencies not included in the main Chromium source archive, and +# additional build utilities to replace Google-provided ones. +# Do note that utilities in here can be swapped with user-provided versions. -# Disable swapimport / syzygy for now +# TODO: Perhaps download ninja, gperf, and bison? + +# Uses a heavily modified syzygy code base to build swapimport.exe +# Disabled import reordering for now since this is too much work to maintain #[third_party/syzygy] #version = bd0e67f571063e18e7200c72e6152a3a7e4c2a6d #url = https://github.com/Eloston/syzygy/archive/{version}.tar.gz #download_name = syzygy-{version}.tar.gz #strip_leading_dirs = syzygy-{version} +# Use a pre-built LLVM toolchain from LLVM for convenience +# Developer notes: +# * Releases of LLVM are available as "Clang for Windows (64-bit)" on LLVM's download page. +# * If the current stable version of LLVM is causing problems with the build, try +# matching Google's LLVM version (defined by the `CLANG_REVISION` variable in by +# downloading a snapshot build at the version specified by `CLANG_REVISION` and +# `VERSION` constants in `tools/clang/scripts/update.py`. For example, +# revision 123456 of LLVM 9.8.7 64-bit Windows would be: +# `http://prereleases.llvm.org/win-snapshots/LLVM-9.8.7-r123456-win64.exe` +# (link derived from [LLVM Snapshot Builds](http://llvm.org/builds/)) [third_party/llvm-build/Release+Asserts] version = 6.0.0 url = http://releases.llvm.org/%(version)s/LLVM-%(version)s-win64.exe