Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#10821 closed feature request (invalid)

Add a flag to avoid generation of .hi, .o, .dyn_* files

Reported by: spinda Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.10.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: #2258, #4114 Differential Rev(s):
Wiki Page:

Description (last modified by spinda)

When running tests involving GHC (eg. when developing GHC plugins), it is cumbersome and frustrating to have to constantly clean up the .hi, .o, and .dyn_* files that GHC leaves behind. There should be a way to tell GHC not to generate these files at all, or if they're really needed during the build process, to clean them up on its own once it's finished with them.

(Apologies if this is a duplicate issue -- "hi" and "o" are difficult terms to search on the bug tracker.)

Change History (5)

comment:1 Changed 2 years ago by spinda

Description: modified (diff)

comment:3 Changed 2 years ago by ezyang

Note that actually just dumping them all in /tmp is not such a good idea, you should make a new temporary directory for each compilation run.

comment:4 Changed 2 years ago by thomie

Resolution: invalid
Status: newclosed

What ezyang said. We don't need any new flag though.

comment:5 Changed 2 years ago by thomie

#2258 and #4114 are related.

Note: See TracTickets for help on using tickets.