mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182727 - Part 8: Add some documentation and the new config files; r=rail
This commit is contained in:
parent
5bf597f574
commit
6863e07895
30
build/unix/build-clang/README
Normal file
30
build/unix/build-clang/README
Normal file
@ -0,0 +1,30 @@
|
||||
build-clang.py
|
||||
==============
|
||||
|
||||
A script to build clang from source.
|
||||
|
||||
```
|
||||
usage: build-clang.py [-h] -c CONFIG [--clean]
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-c CONFIG, --config CONFIG
|
||||
Clang configuration file
|
||||
--clean Clean the build directory
|
||||
```
|
||||
|
||||
Config file format
|
||||
------------------
|
||||
|
||||
build-clang.py accepts a JSON config format with the following fields:
|
||||
|
||||
* llvm_revision: The LLVM SVN revision to build.
|
||||
* stages: Use 1, 2, or 3 to select different compiler stages. The default is 3.
|
||||
* llvm_repo: SVN path to the LLVM repo.
|
||||
* clang_repo: SVN path to the Clang repo.
|
||||
* compiler_repo: SVN path to the compiler-rt repo.
|
||||
* libcxx_repo: SVN path to the libcxx repo.
|
||||
* patches: Optional list of patches to apply per platform. Supported platforms: macosx64, linux32, linux64. The default is Release.
|
||||
* build_type: The type of build to make. Supported types: Release, Debug, RelWithDebInfo or MinSizeRel.
|
||||
* build_libcxx: Whether to build with libcxx. The default is false.
|
||||
* assertions: Whether to enable LLVM assertions. The default is false.
|
16
build/unix/build-clang/clang-static-analysis-linux64.json
Normal file
16
build/unix/build-clang/clang-static-analysis-linux64.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"llvm_revision": "247539",
|
||||
"stages": "3",
|
||||
"build_libcxx": false,
|
||||
"build_type": "Release",
|
||||
"assertions": false,
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
|
||||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/trunk",
|
||||
"patches": {
|
||||
"macosx64": ["llvm-debug-frame.patch"],
|
||||
"linux64": ["llvm-debug-frame.patch"],
|
||||
"linux32": ["llvm-debug-frame.patch"]
|
||||
}
|
||||
}
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"llvm_revision": "247539",
|
||||
"stages": "3",
|
||||
"build_libcxx": true,
|
||||
"build_type": "Release",
|
||||
"assertions": false,
|
||||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/trunk",
|
||||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/trunk",
|
||||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/trunk",
|
Loading…
Reference in New Issue
Block a user