# This script is for building the DirectX Shader Compiler (DXC). # It takes the target CPU architecture as parameter ("x86_64" or "aarch64").
export MOZ_DXC_TARGET_ARCH=$1
export VSINSTALLDIR="$MOZ_FETCHES_DIR/vs"
# Detect a windows SDK version by looking at the directory names in # "Windows Kits/10/Include/". At the time of writing this comment, there # is one, but we pick the first result in alphabetical order in to reduce # the risk of breakage if the vs-toolchain job changes. export MOZ_DXC_WIN10_SDK_VERSION=`ls "$VSINSTALLDIR/Windows Kits/10/Include/" | sort | head -n 1`
# Only build the required target. # NOTE: This builds `dxcompiler.pdb`, too.
ninja dxcompiler.dll
# Pack the result and upload.
mkdir "$dxc_folder" cp bin/dxcompiler.dll bin/dxcompiler.pdb "$dxc_folder"
mkdir -p "$UPLOAD_DIR"
tar cavf "$UPLOAD_DIR/$artifact""$dxc_folder"
cd "$GECKO_PATH"
# Create a directory for `*.sym` files of the form `…/<bin>/<hash>/<bin>.sym`.
symbols_dir="$dxc_build_dir/sym"
bin_dir="$dxc_build_dir/bin"
./mach python toolkit/crashreporter/tools/symbolstore.py \ "$MOZ_FETCHES_DIR/dump_syms/dump_syms" \
--platform "WINNT" \
--no-rust \
--no-moz-extra-info \ "$symbols_dir" \ "$bin_dir/dxcompiler.dll" # NOTE: `dll` is not a typo. `symbolstore.py` will find the `pdb` based on this name.
# Upload a symbols tarball to this job's artifacts.
symbols_archive="$UPLOAD_DIR/target.crashreporter-symbols-dxc.tar.zst"
cd "$symbols_dir"
tar cavf "$symbols_archive" *
cd -
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-10-01)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.