Skip to content

Commit

Permalink
probe CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fw-immunant committed Oct 22, 2024
1 parent 0e724f2 commit d8a86e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cross-build-rtlibs.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/bin/sh
# build compiler-rt, libcxx, libcxxabi, and libunwind with our patched clang
# see https://llvm.org/docs/HowToCrossCompileBuiltinsOnArm.html
set -x
mkdir -p build-rtlibs
cd build-rtlibs
cross_flags="--sysroot=/usr/aarch64-linux-gnu/ --gcc-install-dir=/usr/lib/gcc/aarch64-linux-gnu/14.1.0 --rtlib=compiler-rt -march=armv8+memtag -ffixed-x18"
ls -l /usr/lib/gcc/aarch64-linux-gnu
find /usr | fgrep crtbeginS.o
cross_flags="-B/usr/lib/gcc/aarch64-linux-gnu/14.1.0/ --sysroot=/usr/aarch64-linux-gnu -isystem /usr/aarch64-linux-gnu/include --rtlib=compiler-rt -march=armv8+memtag -ffixed-x18"
#--sysroot=/usr/aarch64-linux-gnu/ --gcc-install-dir=/usr/lib/gcc/aarch64-linux-gnu/14.1.0
export LDFLAGS="-L/usr/aarch64-linux-gnu/lib"
cmake -GNinja -DLLVM_TARGETS_TO_BUILD="AArch64" -DLLVM_DEFAULT_TARGET_TRIPLE="aarch64-linux-gnu" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Utils/AArch64LoadStoreTagging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ AArch64LoadStoreTaggingPass::run(Function &F, FunctionAnalysisManager &AM) {
}
// return true;

return PreservedAnalyses::all();
return PreservedAnalyses::none();
}

0 comments on commit d8a86e2

Please sign in to comment.