Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
2aa1f054
Commit
2aa1f054
authored
Jun 28, 2018
by
在原佐为
Committed by
Tianqi Chen
Jun 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update include regex to work for path with symbol (#1354)
change regex to match all symbol except for space.
parent
15d5801f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
cmake/util/FindLLVM.cmake
+1
-1
No files found.
cmake/util/FindLLVM.cmake
View file @
2aa1f054
...
...
@@ -35,7 +35,7 @@ macro(find_llvm use_llvm)
# definitions
string
(
REGEX MATCHALL
"(^| )-D[A-Za-z0-9_]*"
LLVM_DEFINITIONS
${
__llvm_cxxflags
}
)
# include dir
string
(
REGEX MATCHALL
"(^| )-I[
A-Za-z0-9_/.\-]*"
__llvm_include_flags
${
__llvm_cxxflags
}
)
string
(
REGEX MATCHALL
"(^| )-I[
^ ]*"
__llvm_include_flags
${
__llvm_cxxflags
}
)
set
(
LLVM_INCLUDE_DIRS
""
)
foreach
(
__flag IN ITEMS
${
__llvm_include_flags
}
)
string
(
REGEX REPLACE
"(^| )-I"
""
__dir
"
${
__flag
}
"
)
...
...
Write
Preview
Markdown
is supported
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