Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Gesh
GHC
Commits
13c0d8a2
Commit
13c0d8a2
authored
24 years ago
by
Reuben Thomas
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-07-21 08:40:04 by rrt]
Add dll as a fully-fledged way.
parent
f7750b5a
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/driver/Main.hs
+8
-0
8 additions, 0 deletions
ghc/driver/Main.hs
with
8 additions
and
0 deletions
ghc/driver/Main.hs
+
8
−
0
View file @
13c0d8a2
...
@@ -731,6 +731,7 @@ GLOBAL_VAR(build_tag, "", String)
...
@@ -731,6 +731,7 @@ GLOBAL_VAR(build_tag, "", String)
data
WayName
data
WayName
=
WayProf
=
WayProf
|
WayUnreg
|
WayUnreg
|
WayDll
|
WayTicky
|
WayTicky
|
WayPar
|
WayPar
|
WayGran
|
WayGran
...
@@ -757,6 +758,8 @@ data WayName
...
@@ -757,6 +758,8 @@ data WayName
GLOBAL_VAR
(
ways
,
[]
,[
WayName
])
GLOBAL_VAR
(
ways
,
[]
,[
WayName
])
-- ToDo: allow WayDll with any other allowed combination
allowed_combinations
=
allowed_combinations
=
[
[
WayProf
,
WayUnreg
],
[
[
WayProf
,
WayUnreg
],
[
WayProf
,
WaySMP
]
-- works???
[
WayProf
,
WaySMP
]
-- works???
...
@@ -811,6 +814,9 @@ way_details =
...
@@ -811,6 +814,9 @@ way_details =
,
"-fno-asm-mangling"
,
"-fno-asm-mangling"
,
"-funregisterised"
]),
,
"-funregisterised"
]),
(
WayDll
,
Way
"dll"
"DLLized"
[ ]
),
(
WayPar
,
Way
"mp"
"Parallel"
(
WayPar
,
Way
"mp"
"Parallel"
[
"-fstack-check"
[
"-fstack-check"
,
"-fparallel"
,
"-fparallel"
...
@@ -1684,6 +1690,7 @@ run_something phase_name cmd
...
@@ -1684,6 +1690,7 @@ run_something phase_name cmd
putStr
phase_name
putStr
phase_name
putStrLn
":"
putStrLn
":"
putStrLn
cmd
putStrLn
cmd
hFlush
stdout
-- test for -n flag
-- test for -n flag
n
<-
readIORef
dry_run
n
<-
readIORef
dry_run
...
@@ -1748,6 +1755,7 @@ opts =
...
@@ -1748,6 +1755,7 @@ opts =
------- ways --------------------------------------------------------
------- ways --------------------------------------------------------
,
(
"prof"
,
NoArg
(
addNoDups
ways
WayProf
)
)
,
(
"prof"
,
NoArg
(
addNoDups
ways
WayProf
)
)
,
(
"unreg"
,
NoArg
(
addNoDups
ways
WayUnreg
)
)
,
(
"unreg"
,
NoArg
(
addNoDups
ways
WayUnreg
)
)
,
(
"dll"
,
NoArg
(
addNoDups
ways
WayDll
)
)
,
(
"ticky"
,
NoArg
(
addNoDups
ways
WayTicky
)
)
,
(
"ticky"
,
NoArg
(
addNoDups
ways
WayTicky
)
)
,
(
"parallel"
,
NoArg
(
addNoDups
ways
WayPar
)
)
,
(
"parallel"
,
NoArg
(
addNoDups
ways
WayPar
)
)
,
(
"gransim"
,
NoArg
(
addNoDups
ways
WayGran
)
)
,
(
"gransim"
,
NoArg
(
addNoDups
ways
WayGran
)
)
...
...
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