[all-commits] [llvm/llvm-project] 78b8fd: clang/AMDGPU: Do not look for rocm device libs if ...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Feb 11 03:45:05 PST 2026
Branch: refs/heads/users/arsenm/clang/amdgpu-skip-rocm-install-search-llvm-env
Home: https://github.com/llvm/llvm-project
Commit: 78b8fdc30ba52ac338296a3431f1e10848e992d2
https://github.com/llvm/llvm-project/commit/78b8fdc30ba52ac338296a3431f1e10848e992d2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/include/clang/Driver/CommonArgs.h
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/HIPAMD.cpp
A clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/amdgcn-amd-amdhsa-llvm/gfx90a/libclc.bc
A clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/lib/amdgcn-amd-amdhsa-llvm/libclc.bc
A clang/test/Driver/hip-device-libs-llvm-env.hip
M clang/test/Driver/opencl-libclc.cl
M libclc/CMakeLists.txt
Log Message:
-----------
clang/AMDGPU: Do not look for rocm device libs if environment is llvm
Introduce usage of the llvm environment type. This will be useful as
a switch to eventually stop depending on externally provided libraries,
and only take bitcode from the resource directory.
I wasn't sure how to handle the confusing mess of -no-* flags. Try
to handle them all. I'm not sure --no-offloadlib makes sense for OpenCL
since it's not really offload, but interpret it anyway. Handle
-nostdlib/-stdlib as a pair overridable
Commit: 5f7f76c10f7f72b8a9d71e6c50a61546fea5aefc
https://github.com/llvm/llvm-project/commit/5f7f76c10f7f72b8a9d71e6c50a61546fea5aefc
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/opencl-libclc.cl
Log Message:
-----------
Stop trying to handle -nostdlib -stdlib
Compare: https://github.com/llvm/llvm-project/compare/78b8fdc30ba5%5E...5f7f76c10f7f
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list