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
10769a1b
Commit
10769a1b
authored
Jan 08, 2016
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the test-way prof_h to normal_h
parent
c33e7c2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
testsuite/config/ghc
testsuite/config/ghc
+3
-3
testsuite/tests/profiling/should_run/all.T
testsuite/tests/profiling/should_run/all.T
+1
-1
No files found.
testsuite/config/ghc
View file @
10769a1b
...
...
@@ -23,7 +23,7 @@ config.compile_ways = ['normal', 'hpc']
config.run_ways = ['normal', 'hpc']
# ways that are not enabled by default, but can always be invoked explicitly
config.other_ways = ['prof', '
prof
_h',
config.other_ways = ['prof', '
normal
_h',
'prof_hc_hb','prof_hb',
'prof_hd','prof_hy','prof_hr',
'threaded1_ls', 'threaded2_hT',
...
...
@@ -85,6 +85,7 @@ config.clean_only = clean_only
config.way_flags = lambda name : {
'normal' : [],
'normal_h' : [],
'g1' : [],
'optasm' : ['-O', '-fasm'],
'llvm' : ['-fllvm'],
...
...
@@ -99,7 +100,6 @@ config.way_flags = lambda name : {
'threaded2' : ['-O', '-threaded', '-eventlog'],
'threaded2_hT' : ['-O', '-threaded'],
'hpc' : ['-O', '-fhpc', '-hpcdir', '.hpc.' + name ],
'prof_h' : [],
'prof_hc_hb' : ['-O', '-prof', '-static', '-auto-all'],
'prof_hb' : ['-O', '-prof', '-static', '-auto-all'],
'prof_hd' : ['-O', '-prof', '-static', '-auto-all'],
...
...
@@ -117,6 +117,7 @@ config.way_flags = lambda name : {
config.way_rts_flags = {
'normal' : [],
'normal_h' : ['-h'], # works without -prof
'g1' : ['-G1'],
'optasm' : [],
'llvm' : [],
...
...
@@ -131,7 +132,6 @@ config.way_rts_flags = {
'threaded2' : ['-N2 -ls'],
'threaded2_hT' : ['-N2', '-hT'],
'hpc' : [],
'prof_h' : ['-h'], # works without -prof
'prof_hc_hb' : ['-hc -hbvoid'],
'prof_hb' : ['-hb'],
'prof_hd' : ['-hd'],
...
...
testsuite/tests/profiling/should_run/all.T
View file @
10769a1b
...
...
@@ -11,7 +11,7 @@ test('heapprof001',
test
('
heapprof002
',
[
pre_cmd
('
cp heapprof001.hs heapprof002.hs
')
,
extra_clean
(['
heapprof002.hs
'])
,
extra_ways
(['
prof
_h
'])
,
extra_ways
(['
normal
_h
'])
,
extra_run_opts
('
7
')
],
compile_and_run
,
[''])
...
...
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