-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case.build --cleanall does not clean all the mod files #1045
Comments
I don't think there is any negative issue associated with these .mod files if you see one please tell us. |
I am wondering why these are left around after a cleanall command? If there
is no reason for them to be there, I think we should remove them. Is there
a reason for them not to be cleaned?
…On Wed, Jan 25, 2017 at 1:47 PM, jedwards4b ***@***.***> wrote:
I don't think there is any negative issue associated with these .mod files
if you see one please tell us.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1045 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHlxE4ph4SC6fUO8xLxBrkTAvwogQlTuks5rV7TagaJpZM4Lt9pG>
.
|
It's a little harder than it may appear - copies of .h and .mod files are copied from the individual bld obj directories to the general include directory. The clean command cleans the object directory but it doesn't know how to selectively clean the include directory (it would need to identify only the mod files that originated in the directory you are requesting to clean) |
Maybe cleanall should just remove the bld directory completely and clean can leave behind the extra copies of the mod files. That's just a suggestion. Most users will probably use cleanall. I suspect clean is only going to be used by experts that have an idea how the underlying build works and in that case, leaving the extra copies of the mod files seems ok. |
Actually clean with no arguments cleans all the prognostic model obj directories and cleanall also cleans the support libraries (pio, mct, csm_share) - mostly you don't need to clean those and clean is sufficient for most users. |
@jedwards4b, I think you made @apcraig's point. There is already not much left after |
@gold2718 said " I always have had to remove the bld directory " what? why? If there is a real reproducible problem I want to fix it. Can any of you come up with a test case that indicates that the current tools are not sufficient, or is this an alternative truth? |
Is there a reason to not remove the bld directory? If this is cleaner it
should be done this way. I have also had problems in the past that required
me to remove the bld directory - but I don't remember the exact details. I
can't understand why we would argue about a cleaner implementation if there
is one that is simple to do.
…On Thu, Jan 26, 2017 at 7:46 AM, jedwards4b ***@***.***> wrote:
@gold2718 <https://github.com/gold2718> said " I always have had to
remove the bld directory " what? why? If there is a real reproducible
problem I want to fix it. Can any of you come up with a test case that
indicates that the current tools are not sufficient, or is this an
alternative truth?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1045 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHlxE7_pn8ZVZvY1SFHTfZscIBlx0S8dks5rWLHAgaJpZM4Lt9pG>
.
|
An option called "--cleanall" should clean all. |
Just adding a link to #1052 as the sharedlibroot is something that I wasn't entirely aware of before today, especially with regard to individual tests, and it may need to be considered in terms of how clean or cleanall work when using a test to carry out development. |
when --cleanall (and I assume --clean) is called from case.build, there are some .mod files left around. I assume these are copies or something. for instance, I see .mod files in
bld/intel/mpich2/nodebug/nothreads/include
bld/lib/include
bld/intel/mpich2/nodebug/nothreads///c1a1l1i1o1r1g1w1e1/include
Just wanted to point that out in case there is something more that clean should do.
The text was updated successfully, but these errors were encountered: