forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1703483 - Add required CI jobs for using clang main as a testing …
…toolchain for firefox build. r=mhentges,glandium 1. Add task to get and build clang from the main branch. 2. Using clang main toolchain we build on a daily basis linux64 firefox, this tasks also automatically triggers the fetch and build of clang from main branch since we don't cache it. Differential Revision: https://phabricator.services.mozilla.com/D111063
- Loading branch information
1 parent
b1583ff
commit a09d3b3
Showing
12 changed files
with
169 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Use `-gcc-toolchain` extra argument until `Bug 1704766` lands. | ||
export CXX="$MOZ_FETCHES_DIR/clang/bin/clang++ -gcc-toolchain $MOZ_FETCHES_DIR/clang" | ||
export CC="$MOZ_FETCHES_DIR/clang/bin/clang -gcc-toolchain $MOZ_FETCHES_DIR/clang" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"stages": "2", | ||
"build_libcxx": true, | ||
"build_wasm": true, | ||
"build_type": "Release", | ||
"assertions": false, | ||
"python_path": "/usr/bin/python2.7", | ||
"gcc_dir": "{MOZ_FETCHES_DIR}/gcc", | ||
"cc": "{MOZ_FETCHES_DIR}/gcc/bin/gcc", | ||
"cxx": "{MOZ_FETCHES_DIR}/gcc/bin/g++", | ||
"as": "{MOZ_FETCHES_DIR}/gcc/bin/gcc", | ||
"wasi-sysroot": "{MOZ_FETCHES_DIR}/wasi-sysroot", | ||
"patches": [ | ||
"static-llvm-symbolizer_clang_12.patch", | ||
"find_symbolizer_linux_clang_10.patch", | ||
"android-mangling-error_clang_12.patch", | ||
"unpoison-thread-stacks_clang_10.patch", | ||
"downgrade-mangling-error_clang_12.patch", | ||
"revert-llvmorg-12-init-7827-g2a078c307204.patch", | ||
"loosen-msvc-detection.patch", | ||
"clang-trunk-missing-define.patch" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/clang-tools-extra/clangd/quality/CompletionModel.cmake b/clang-tools-extra/clangd/quality/CompletionModel.cmake | ||
index 41bc2ed1890b..e8f5345da84e 100644 | ||
--- a/clang-tools-extra/clangd/quality/CompletionModel.cmake | ||
+++ b/clang-tools-extra/clangd/quality/CompletionModel.cmake | ||
@@ -1,11 +1,11 @@ | ||
-# Run the Completion Model Codegenerator on the model present in the | ||
+# Run the Completion Model Codegenerator on the model present in the | ||
# ${model} directory. | ||
-# Produces a pair of files called ${filename}.h and ${filename}.cpp in the | ||
+# Produces a pair of files called ${filename}.h and ${filename}.cpp in the | ||
# ${CMAKE_CURRENT_BINARY_DIR}. The generated header | ||
# will define a C++ class called ${cpp_class} - which may be a | ||
# namespace-qualified class name. | ||
function(gen_decision_forest model filename cpp_class) | ||
- set(model_compiler ${LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR}/clangd/quality/CompletionModelCodegen.py) | ||
+ set(model_compiler ${CMAKE_SOURCE_DIR}/../clang-tools-extra/clangd/quality/CompletionModelCodegen.py) | ||
|
||
set(output_dir ${CMAKE_CURRENT_BINARY_DIR}) | ||
set(header_file ${output_dir}/${filename}.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters