Skip to content

Fix TritonSan build error#359

Merged
lechenyu merged 3 commits intomicrosoft:mainfrom
lechenyu:main
Oct 27, 2025
Merged

Fix TritonSan build error#359
lechenyu merged 3 commits intomicrosoft:mainfrom
lechenyu:main

Conversation

@lechenyu
Copy link
Copy Markdown
Contributor

This PR resolves the TritonSan build error. The build script was broken due to several issues:

  • Removal of the Triton submodule: We now use triton-hash.txt to record the Triton version. The previous logic for locating Triton submodule was invalidated by this change.

  • LLVM-related issue: In the corresponding LLVM version, there is a known bug that causes a compilation error when building OpenMP. The build script now cherry-picks this patch to address the problem.

This PR fixes all these issues. The build script will now automatically check out Triton and place it alongside triton-shared, LLVM, and the Python virtual environment. There are no changes to the usage of the build script or the TritonSan driver script.

@bmyerz0 bmyerz0 self-requested a review October 25, 2025 14:10
Comment thread triton-san/script/build_llvm.sh
@lechenyu lechenyu requested a review from bmyerz0 October 27, 2025 18:11
@lechenyu lechenyu merged commit 1c203ca into microsoft:main Oct 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants