mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-16 20:17:05 +03:00
* Added first node to Zone so the reset is simpler
* Added x86::Xmm/Ymm/Zmm deprecated aliases of x86::Vec
to make user code not break when using these deprecated
types
* Documentation fixes and clarifications
22 lines
891 B
Bash
Executable File
22 lines
891 B
Bash
Executable File
#!/bin/sh
|
|
|
|
CURRENT_DIR="`pwd`"
|
|
BUILD_DIR="${CURRENT_DIR}/../build"
|
|
BUILD_OPTIONS="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1"
|
|
|
|
echo "== [Configuring Build - Release_ASAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_ASAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=address
|
|
echo ""
|
|
|
|
echo "== [Configuring Build - Release_UBSAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_UBSAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=undefined
|
|
echo ""
|
|
|
|
echo "== [Configuring Build - Release_MSAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_MSAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=memory
|
|
echo ""
|
|
|
|
echo "== [Configuring Build - Debug_UBSAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Debug_UBSAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Debug -DASMJIT_SANITIZE=undefined
|
|
echo ""
|