projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e06b25
)
Remove a variable write that is not needed after d03838343f2.
author
Nico Weber
<thakis@chromium.org>
Mon, 11 May 2020 00:13:05 +0000
(20:13 -0400)
committer
Nico Weber
<thakis@chromium.org>
Mon, 11 May 2020 00:13:45 +0000
(20:13 -0400)
llvm/cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/llvm/cmake/modules/AddLLVM.cmake
b/llvm/cmake/modules/AddLLVM.cmake
index
7f8e413
..
5c8bdb5
100644
(file)
--- a/
llvm/cmake/modules/AddLLVM.cmake
+++ b/
llvm/cmake/modules/AddLLVM.cmake
@@
-1504,8
+1504,7
@@
string(CONCAT LLVM_LIT_PATH_FUNCTION
"# Allow generated file to be relocatable.\n"
"def path(p):\n"
" if not p: return ''\n"
- " p = os.path.join(os.path.dirname(os.path.abspath(__file__)), p)\n"
- " return p\n"
+ " return os.path.join(os.path.dirname(os.path.abspath(__file__)), p)\n"
)
# This function provides an automatic way to 'configure'-like generate a file