Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
7cef4375
Commit
7cef4375
authored
Mar 03, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically define _INPLACE variables for perl programs too
and use them for split
parent
2bdc4fdc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
compiler/ghc.mk
compiler/ghc.mk
+1
-1
driver/split/ghc.mk
driver/split/ghc.mk
+1
-1
ghc/ghc.mk
ghc/ghc.mk
+3
-3
mk/config.mk.in
mk/config.mk.in
+0
-3
rules/build-perl.mk
rules/build-perl.mk
+7
-2
No files found.
compiler/ghc.mk
View file @
7cef4375
...
...
@@ -104,7 +104,7 @@ endif
@
echo
'cGHC_UNLIT_PGM :: String'
>>
$@
@
echo
'cGHC_UNLIT_PGM = "$(utils/unlit_dist_PROG)"'
>>
$@
@
echo
'cGHC_SPLIT_PGM :: String'
>>
$@
@
echo
'cGHC_SPLIT_PGM = "
$(
GHC_SPLIT_PGM)
"'
>>
$@
@
echo
'cGHC_SPLIT_PGM = "$(
driver/split_dist_PROG)"'
>>
$@
@
echo
'cLibFFI :: Bool'
>>
$@
ifeq
"$(UseLibFFIForAdjustors)" "YES"
@
echo
'cLibFFI = True'
>>
$@
...
...
driver/split/ghc.mk
View file @
7cef4375
...
...
@@ -11,7 +11,7 @@
# -----------------------------------------------------------------------------
driver/
split_PERL_SRC
=
ghc-split.lprl
driver/
split_dist_PROG
=
$(GHC_SPLIT_PGM)
driver/
split_dist_PROG
=
ghc-split
driver/
split_dist_TOPDIR
=
YES
driver/
split_dist_INSTALL
=
YES
driver/
split_dist_INSTALL_INPLACE
=
YES
...
...
ghc/ghc.mk
View file @
7cef4375
...
...
@@ -150,9 +150,9 @@ $(GHC_STAGE2) : | $(GHC_DEPENDENCIES)
$(GHC_STAGE3)
:
| $(GHC_DEPENDENCIES)
ifeq
"$(GhcUnregisterised)" "NO"
$(GHC_STAGE1)
:
| $
(SPLIT
)
$(GHC_STAGE2)
:
| $
(SPLIT
)
$(GHC_STAGE3)
:
| $
(SPLIT
)
$(GHC_STAGE1)
:
| $
$(ghc-split_INPLACE
)
$(GHC_STAGE2)
:
| $
$(ghc-split_INPLACE
)
$(GHC_STAGE3)
:
| $
$(ghc-split_INPLACE
)
endif
ifeq
"$(Windows_Host)" "YES"
...
...
mk/config.mk.in
View file @
7cef4375
...
...
@@ -434,9 +434,6 @@ SRC_FLEX_OPTS += -8
# xxx_PGM the name of an executable, without the path
# xxx the executable relative to the current dir
GHC_SPLIT_PGM
=
ghc-split
SPLIT
=
$(INPLACE_LIB)
/
$(GHC_SPLIT_PGM)
TOUCHY
=
$(INPLACE_LIB)
/touchy
$(exeext)
MKDIRHIER
=
$(INPLACE_BIN)
/mkdirhier
...
...
rules/build-perl.mk
View file @
7cef4375
...
...
@@ -24,12 +24,17 @@ $(call profStart, build-perl($1,$2))
# $1 = dir
# $2 = distdir
ifneq
"$$($$($1_$2_PROG)_INPLACE)" ""
$$(error
$$($1_$2_PROG)_INPLACE
defined
twice)
endif
ifeq
"$$($1_$2_TOPDIR)" "YES"
$
1_$2
_INPLACE
=
$
$(INPLACE_TOPDIR)
/
$$
(
$1_$2_PROG
)
$
$($1_$2_PROG)
_INPLACE
=
$
$(INPLACE_TOPDIR)
/
$$
(
$1_$2_PROG
)
else
$
1_$2
_INPLACE
=
$
$(INPLACE_BIN)
/
$$
(
$1_$2_PROG
)
$
$($1_$2_PROG)
_INPLACE
=
$
$(INPLACE_BIN)
/
$$
(
$1_$2_PROG
)
endif
$1_$2_INPLACE
=
$$
(
$$
(
$1_$2_PROG
)
_INPLACE
)
$(call
all-target,$1_$2,$$($1_$2_INPLACE))
$(call
clean-target,$1,$2,$1/$2
$$($1_$2_INPLACE))
...
...
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