Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
b44d7056
Commit
b44d7056
authored
Dec 28, 2017
by
4ast
Committed by
GitHub
Dec 28, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1503 from iovisor/yhs_dev
fix build issue for llvm 5.0.1
parents
4e04c945
bd7fa55b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cmake/clang_libs.cmake
cmake/clang_libs.cmake
+1
-1
src/cc/CMakeLists.txt
src/cc/CMakeLists.txt
+1
-1
No files found.
cmake/clang_libs.cmake
View file @
b44d7056
...
...
@@ -8,7 +8,7 @@ list(FIND LLVM_AVAILABLE_LIBS "LLVMCoroutines" _llvm_coroutines)
if
(
${
_llvm_coroutines
}
GREATER -1
)
list
(
APPEND llvm_raw_libs coroutines
)
endif
()
if
(
${
LLVM_PACKAGE_VERSION
}
VERSION_
GREATER
"5"
)
if
(
${
LLVM_PACKAGE_VERSION
}
VERSION_
EQUAL 6 OR
${
LLVM_PACKAGE_VERSION
}
VERSION_GREATER 6
)
list
(
APPEND llvm_raw_libs bpfasmparser
)
list
(
APPEND llvm_raw_libs bpfdisassembler
)
endif
()
...
...
src/cc/CMakeLists.txt
View file @
b44d7056
...
...
@@ -29,7 +29,7 @@ set_target_properties(bpf-shared PROPERTIES VERSION ${REVISION_LAST} SOVERSION 0
set_target_properties
(
bpf-shared PROPERTIES OUTPUT_NAME bpf
)
set
(
bcc_common_sources bpf_common.cc bpf_module.cc exported_files.cc
)
if
(
${
LLVM_PACKAGE_VERSION
}
VERSION_
GREATER
"5"
)
if
(
${
LLVM_PACKAGE_VERSION
}
VERSION_
EQUAL 6 OR
${
LLVM_PACKAGE_VERSION
}
VERSION_GREATER 6
)
set
(
bcc_common_sources
${
bcc_common_sources
}
bcc_debug.cc
)
endif
()
...
...
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