Skip to content

Commit 5e15fd7

Browse files
authored
fix error when compile as sub proj
1 parent 418920b commit 5e15fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/bazel/configure.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _extract_cmake_settings(repository_ctx, llvm_cmake):
8080

8181
# It would be easier to use external commands like sed(1) and python.
8282
# For portability, the parser should run on Starlark.
83-
llvm_cmake_path = repository_ctx.path(Label("//:" + llvm_cmake))
83+
llvm_cmake_path = repository_ctx.path(Label("@llvm-raw//:" + llvm_cmake))
8484
for line in repository_ctx.read(llvm_cmake_path).splitlines():
8585
# Extract "set ( FOO bar ... "
8686
setfoo = line.partition("(")

0 commit comments

Comments
 (0)