Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8b24f9f0
Commit
8b24f9f0
authored
Feb 07, 2016
by
Andrey Mokhov
Browse files
Drop duplication of ghc_boot_platform.h
See
#98
.
parent
e1b6c568
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Rules/Generate.hs
View file @
8b24f9f0
...
...
@@ -158,8 +158,8 @@ generatePackageCode _ target @ (PartialTarget stage pkg) =
priority
2.0
$
do
-- TODO: this is temporary hack, get rid of this (#113)
let
oldPath
=
pkgPath
pkg
-/-
targetDirectory
stage
pkg
-/-
"build"
olden
f
=
oldPath
++
(
drop
(
length
buildPath
)
f
)
let
oldPath
=
pkgPath
pkg
-/-
targetDirectory
stage
pkg
olden
f
=
oldPath
++
(
drop
(
length
(
targetPath
stage
pkg
)
)
f
)
when
(
pkg
==
compiler
)
$
buildPath
-/-
"Config.hs"
%>
\
file
->
do
file
<~
generateConfigHs
...
...
@@ -167,7 +167,6 @@ generatePackageCode _ target @ (PartialTarget stage pkg) =
when
(
pkg
==
compiler
)
$
platformH
stage
%>
\
file
->
do
file
<~
generateGhcBootPlatformH
olden
file
<~
generateGhcBootPlatformH
-- TODO: get rid of this (#113)
when
(
pkg
==
ghcPkg
)
$
buildPath
-/-
"Version.hs"
%>
\
file
->
do
file
<~
generateVersionHs
...
...
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