Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
fee30b7d
Commit
fee30b7d
authored
Jan 17, 2012
by
dterei
Browse files
Revert "The LLVM backend now only works with 2.9+, don't try it if we have 2.7"
This reverts commit 0114212f8588211d3dd6735d55127bce2cc1dad7.
parent
08413e4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/mk/test.mk
View file @
fee30b7d
...
...
@@ -86,17 +86,11 @@ else
RUNTEST_OPTS
+=
-e
ghc_with_smp
=
0
endif
LLVM_VERSION
=
$(
shell
$(SHELL)
-c
"llvmc --version | grep version | sed 's/^.*version
\(
[0-9]*
\)\.\(
[0-9]*
\)
.*
$$
/
\1\.\2
/'"
2> /dev/null
)
ifneq
"$(LLVM_VERSION)" ""
ifneq
"$(LLVM_VERSION)" "2.7"
ifneq
"$(shell $(SHELL) -c 'llvmc --version | grep version' 2> /dev/null)" ""
RUNTEST_OPTS
+=
-e
ghc_with_llvm
=
1
else
RUNTEST_OPTS
+=
-e
ghc_with_llvm
=
0
endif
else
RUNTEST_OPTS
+=
-e
ghc_with_llvm
=
0
endif
ifeq
"$(WINDOWS)" "YES"
RUNTEST_OPTS
+=
-e
windows
=
True
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment