Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
bb417df2
Commit
bb417df2
authored
Sep 17, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Couple more fixes to move around llvm revisions
parent
e6d53a98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/Makefile
src/Makefile
+6
-1
src/codegen/entry.cpp
src/codegen/entry.cpp
+1
-1
No files found.
src/Makefile
View file @
bb417df2
...
...
@@ -80,11 +80,16 @@ else
LLVM_BIN
:=
$(LLVM_BUILD)
/Release/bin
endif
LLVM_LINK_LIBS
:=
core mcjit native bitreader ipo irreader
jit
debuginfo instrumentation
LLVM_LINK_LIBS
:=
core mcjit native bitreader ipo irreader debuginfo instrumentation
ifneq
($(ENABLE_INTEL_JIT_EVENTS),0)
LLVM_LINK_LIBS
+=
inteljitevents
endif
NEED_OLD_JIT
:=
$(
shell
if
[
$(LLVM_REVISION)
-le
216982
]
;
then
echo
1
;
else
echo
0
;
fi
)
ifeq
($(NEED_OLD_JIT),1)
LLVM_LINK_LIBS
+=
jit
endif
LLVM_CXXFLAGS
:=
$(
shell
$(LLVM_BUILD)
/Release+Asserts/bin/llvm-config
--cxxflags
)
LLVM_LDFLAGS
:=
$(
shell
$(LLVM_BUILD)
/Release+Asserts/bin/llvm-config
--ldflags
--libs
$(LLVM_LINK_LIBS)
)
LLVM_LIB_DEPS
:=
$(
wildcard
$(LLVM_BUILD)
/Release+Asserts/lib/
*
)
...
...
src/codegen/entry.cpp
View file @
bb417df2
...
...
@@ -186,7 +186,7 @@ void initCodegen() {
#if LLVMREV < 215967
llvm
::
EngineBuilder
eb
(
new
llvm
::
Module
(
"empty_initial_module"
,
g
.
context
));
#else
j
lvm
::
EngineBuilder
eb
(
std
::
unique_ptr
<
llvm
::
Module
>
(
new
llvm
::
Module
(
"empty_initial_module"
,
g
.
context
)));
l
lvm
::
EngineBuilder
eb
(
std
::
unique_ptr
<
llvm
::
Module
>
(
new
llvm
::
Module
(
"empty_initial_module"
,
g
.
context
)));
#endif
#if LLVMREV < 216982
...
...
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