Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
1393b816
Commit
1393b816
authored
Jan 12, 2017
by
Christian Dietrich
Browse files
wrappers: fix guard in clang-hash-stop
parent
3bf1ff14
Pipeline
#2990
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
wrappers/clang-hash-stop.in
View file @
1393b816
...
...
@@ -3,7 +3,7 @@
# Wrapper for clang, that supports (only) fast hash-based
# recompilation.
if
[[
(
"
$@
"
=
~
"
.* -c
.*
"
)
&&
(
"
$@
"
=
~
"
.* -o
. *"
)
&&
!
(
"
$@
"
=
~
"
.*/dev/null"
)
]]
;
then
if
[[
(
"
$@
"
=
~ .
*
"
-c
"
.
*
)
&&
(
"
$@
"
=
~ .
*
"
-o
"
.
*
)
&&
!
(
"
$@
"
=
~ .
*
"
/dev/null"
.
*
)
]]
;
then
exec
${
LLVM_C_COMPILER
}
-fplugin
=
${
PROJECT_BINARY_DIR
}
/src/libclang-hash.so
\
-Xclang
-plugin-arg-clang-hash
-Xclang
-stop-if-same-hash
\
"
$@
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment