author | Alexandru Marc <amarc@mozila.com> |
Tue, 22 Jul 2025 14:47:07 +0300 (8 hours ago) | |
changeset 797628 | 73304b4f70e7a0cf43e700c4badfade0c7d85a5e |
parent 760684 | 615d6f62cf05b554b8758c090d1edf2af1ce03de |
permissions | -rw-r--r-- |
395643
79539c25b30f98b294abd22db879485b17265cd3
Bug 1423915 - Use common-win64 mozconfig on all win64 builds. r=nalexander
David Major <dmajor@mozilla.com>
parents:
363644
diff
changeset
|
1 |
. "$topsrcdir/browser/config/mozconfigs/win64/common-win64" |
349068
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
2 |
|
488149
73576d4b23de5f35476f4e3d439adf498b9ab5d1
Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
Mike Hommey <mh+mozilla@glandium.org>
parents:
455762
diff
changeset
|
3 |
if [ -d "$MOZ_FETCHES_DIR/clang" ]; then |
73576d4b23de5f35476f4e3d439adf498b9ab5d1
Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
Mike Hommey <mh+mozilla@glandium.org>
parents:
455762
diff
changeset
|
4 |
CLANG_LIB_DIR="$(cd $MOZ_FETCHES_DIR/clang/lib/clang/* && cd lib/windows && pwd)" |
349068
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
5 |
|
363644
bf2b3066a087e51bc9f49ac93eb24b1d0c7114ee
Bug 1361256 part 2 - Avoid mozconfig failures when clang-cl has't been downloaded yet. r=glandium
Ting-Yu Chou <janus926@gmail.com>
parents:
349068
diff
changeset
|
6 |
export LDFLAGS="clang_rt.asan_dynamic-x86_64.lib clang_rt.asan_dynamic_runtime_thunk-x86_64.lib" |
349068
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
7 |
|
441846
c06d1f31c0914b09091a7e2d531c782607504d0e
Bug 1475562 Produce pdbs for the mingw-clang build job r=ted
Tom Ritter <tom@mozilla.com>
parents:
441083
diff
changeset
|
8 |
export MOZ_COPY_PDBS=1 |
610288
68b936acd34c3a33a139be9c3da7beaf63e4a8b5
Bug 1758781 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges
Mike Hommey <mh+mozilla@glandium.org>
parents:
562504
diff
changeset
|
9 |
export LLVM_SYMBOLIZER="$MOZ_FETCHES_DIR/llvm-symbolizer/bin/llvm-symbolizer.exe" |
363644
bf2b3066a087e51bc9f49ac93eb24b1d0c7114ee
Bug 1361256 part 2 - Avoid mozconfig failures when clang-cl has't been downloaded yet. r=glandium
Ting-Yu Chou <janus926@gmail.com>
parents:
349068
diff
changeset
|
10 |
fi |
349068
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
11 |
|
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
12 |
# Enable ASan specific code and build workarounds |
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
13 |
ac_add_options --enable-address-sanitizer |
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
14 |
|
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
15 |
# Mandatory options required for ASan builds |
525471
4e5ba6693986a89b9f836a21b5bd84d0b3232fea
Backed out changeset 823857306bce (bug 1435148) for causing bug 1631468 CLOSED TREE
Stefan Hindli <shindli@mozilla.com>
parents:
524815
diff
changeset
|
16 |
ac_add_options --disable-jemalloc |
349068
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
17 |
ac_add_options --disable-crashreporter |
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
18 |
ac_add_options --disable-profiling |
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
19 |
|
a89806ba0faacc610f697e4f0ccdc162d80c1499
Bug 1333003 part 1 - Add Windows x64 ASan mozconfigs to the tree. r=mshal
Ting-Yu Chou <janus926@gmail.com>
parents:
diff
changeset
|
20 |
. "$topsrcdir/build/mozconfig.clang-cl" |