-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump LLVM version to llvm/llvm-project@49af650 #2570
Conversation
This patch adds a text file that holds the LLVM commit hash to be used with the Triton code. Once the workflow files are added to the main branch, any updates to this text file in the llvm-head branch will trigger an LLVM build and the corresponding build artifacts will be uploaded to Azure Blob storage. Squashed commits: Bump LLVM version. Update LLVM version to llvm/llvm-project@0954dc3 update hash to 76ce4736721a update llvm hash: b1115f8ccefb380824a9d997622cc84fc0d84a89 [ci] now set LLVM_BUILD_TOOLS=ON in llvm-build.yml
…. `LLVM::AddressOfOp` now returns an opaque pointer by default.
|
@@ -86,7 +86,7 @@ def get_llvm_package_info(): | |||
return Package("llvm", "LLVM-C.lib", "", "LLVM_INCLUDE_DIRS", "LLVM_LIBRARY_DIR", "LLVM_SYSPATH") | |||
# use_assert_enabled_llvm = check_env_flag("TRITON_USE_ASSERT_ENABLED_LLVM", "False") | |||
# release_suffix = "assert" if use_assert_enabled_llvm else "release" | |||
rev = "b1115f8c" | |||
rev = "49af6502" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we read the value in llvm-hash.txt? (And update the README.md that currently points here?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid polluting the top-level directory, could we put this in the cmake directory? (Perhaps that should be renamed to build
.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both comments make sense to me. But I think it would be best to do those in a separate PR, since updating the LLVM version itself is quite orthogonal from the process for doing it, and would require modifying the build system in several unrelated locations. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gflegar did you get around to making these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@karupayun should get to it next week.
In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in triton-lang#2570.
In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in #2570.
In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in #2570.
In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in triton-lang#2570. Test: Pushed the same change to llvm-head branch. Trigger a llvm-build. It passed.
…riton-lang#2698) In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in triton-lang#2570. Test: Pushed the same change to llvm-head branch. Trigger a llvm-build (https://github.com/openai/triton/actions/runs/6970868398), it passed.
…riton-lang#2698) In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in triton-lang#2570. Test: Pushed the same change to llvm-head branch. Trigger a llvm-build (https://github.com/openai/triton/actions/runs/6970868398), it passed.
Co-authored-by: Ashay Rane <[email protected]> Co-authored-by: khasanovaa <[email protected]>
…riton-lang#2698) In this PR we are deduplicating the llvm-hash value (currently it's in the llvm-hash.txt file but also under python/setup.py. The new location is cmake/llvm-hash.txt. Both changes were suggested by jlebar in triton-lang#2570. Test: Pushed the same change to llvm-head branch. Trigger a llvm-build (https://github.com/openai/triton/actions/runs/6970868398), it passed.
No description provided.