Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
fail
Commits
79ff417e
Commit
79ff417e
authored
11 years ago
by
Horst Schirmeier
Browse files
Options
Downloads
Patches
Plain Diff
doc+cmake: LLVM 3.3 is preferred
Change-Id: Ie480efbe5ffd2f0a59da7f185bba80a5355251f9
parent
10420938
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake/FindLLVM.cmake
+1
-1
1 addition, 1 deletion
cmake/FindLLVM.cmake
doc/how-to-build.txt
+5
-0
5 additions, 0 deletions
doc/how-to-build.txt
src/core/util/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/core/util/CMakeLists.txt
with
7 additions
and
2 deletions
cmake/FindLLVM.cmake
+
1
−
1
View file @
79ff417e
find_program
(
LLVMCONFIG NAMES llvm-config llvm-config-3.1
)
find_program
(
LLVMCONFIG NAMES llvm-config
llvm-config-3.3 llvm-config-3.2
llvm-config-3.1
)
if
(
NOT LLVMCONFIG
)
message
(
FATAL_ERROR
"llvm-config not found, try installing llvm-dev llvm"
)
...
...
This diff is collapsed.
Click to expand it.
doc/how-to-build.txt
+
5
−
0
View file @
79ff417e
...
...
@@ -15,6 +15,11 @@ Required for Fail*:
- AspectC++ (ag++, ac++): AspectC++ 1.1 or newer is known to work and can be
obtained from http://www.aspectc.org; nightlies can be downloaded from
http://akut.aspectc.org
- optional:
* LLVM 3.3 (needed for several importers in tools/import-trace)
(compiles/links with 3.1 or 3.2, but fails to properly import information
from ELF binaries not compiled with -ffunction-sections)
Required for the Bochs simulator backend:
**********************************************************************
...
...
This diff is collapsed.
Click to expand it.
src/core/util/CMakeLists.txt
+
1
−
1
View file @
79ff417e
...
...
@@ -63,7 +63,7 @@ add_library(fail-util ${SRCS})
add_dependencies
(
fail-util fail-comm
)
target_link_libraries
(
fail-util
${
PROTOBUF_LIBRARY
}
${
Boost_LIBRARIES
}
${
LIB_IBERTY
}
)
option
(
BUILD_LLVM_DISASSEMBLER
"Build the
llvm
based disassembler (
exactly llvm 3.1 required
)"
OFF
)
option
(
BUILD_LLVM_DISASSEMBLER
"Build the
LLVM-
based disassembler (
LLVM 3.3 preferred, for 3.1 and 3.2 read doc/how-to-build.txt
)"
OFF
)
if
(
BUILD_LLVM_DISASSEMBLER
)
add_subdirectory
(
llvmdisassembler
)
endif
(
BUILD_LLVM_DISASSEMBLER
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment