[all-commits] [llvm/llvm-project] b7e415: [HIP] Fix environment variable HIP_DEVICE_LIB_PATH
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Tue Jan 28 08:27:38 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b7e415f37f38c65ced6d725d100790526920bc0c
https://github.com/llvm/llvm-project/commit/b7e415f37f38c65ced6d725d100790526920bc0c
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/HIP.cpp
M clang/test/Driver/hip-device-libs.hip
Log Message:
-----------
[HIP] Fix environment variable HIP_DEVICE_LIB_PATH
Currently device lib path set by environment variable HIP_DEVICE_LIB_PATH
does not work due to extra "-L" added to each entry.
This patch fixes that by allowing argument name to be empty in addDirectoryList.
Differential Revision: https://reviews.llvm.org/D73299
More information about the All-commits
mailing list