intfiction.org

The Interactive Fiction Community Forum
It is currently Sun Sep 23, 2018 12:32 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Oct 10, 2017 2:23 pm 
Offline

Joined: Mon Dec 07, 2009 9:14 am
Posts: 186
Location: Chicago, IL
Users on a Mac, who have installed FrobTADS, are reporting that if they have a makefile.t3m, and run this:

Code:
t3make -f makefile.t3m

The compiler is always recompiling everything. Output I was sent:

Quote:
TADS Compiler 3.1.3 Copyright 1999, 2012 Michael J. Roberts
Files to build: 90
symbol_export /usr/local/share/frobtads/tads3/lib/_main.t -> obj/_main.t3s
symbol_export /usr/local/share/frobtads/tads3/lib/file.t -> obj/file.t3s
symbol_export /usr/local/share/frobtads/tads3/lib/tok.t -> obj/tok.t3s
...
symbol_export goldskull.t -> obj/goldskull.t3s
compile /usr/local/share/frobtads/tads3/lib/_main.t -> obj/_main.t3o
compile /usr/local/share/frobtads/tads3/lib/file.t -> obj/file.t3o
compile /usr/local/share/frobtads/tads3/lib/tok.t -> obj/tok.t3o
...

This happens even if they change nothing in their goldskull.t file; a full recompilation every time. Their makefile is this:

Code:
-D LANGUAGE=en_us
-D MESSAGESTYLE=neu
-FC
-Fy obj
-Fo obj
-o goldskull.t3
-lib system
-lib adv3/adv3
-source goldskull

Is there some configuration or setting I'm not remembering?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Oct 10, 2017 2:57 pm 
Offline
User avatar

Joined: Tue Apr 20, 2010 2:48 pm
Posts: 1027
Location: Greece
Looks like a bug. Will need to look into this.

Btw, if instead of "makefile.t3m" you use "Makefile.t3m" (upper-case "M"), you don't need to specify "-f filename" anymore. Just "t3make" will do.

_________________
@realnc


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Oct 10, 2017 3:48 pm 
Offline

Joined: Mon Dec 07, 2009 9:14 am
Posts: 186
Location: Chicago, IL
Okay, it looks like (from what I can tell so far) it happens with any Mac's that have either Endpoint Encryption or FileVault installed. Since these are university laptops and some people's work laptops, it's the one thing I've been able to narrow down.

I just tried on my own Mac, which is the same OS (Sierra) but without those two tools. Everything works fine: compilation is only done for those files that have changed.

I'll keep investigating in case there's some variable that's not immediately obvious here.

UPDATE

It has to do with threat prevention in Endpoint Encryption. If I specify that the directory with the TADS projects is excluded form "on-access scans" and "on-demand scans", then everything works as it should.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Wed Oct 11, 2017 1:06 am 
Offline

Joined: Sat Jul 16, 2011 3:48 pm
Posts: 303
As it is common with ordinary make utility and Makefile, TADS variant of those tools also looks for file modification time to determine which files needs to recompile and which not. It is possible that your security software sets modification time as a side product? Shouldn't be triggered with updated access time IMHO. Anyway the basic logic of makefiles is that when source code (or any included header file) is newer than compiled binary of that file, than the file will be recompiled and also when makefile is newer than all will be recompiled. Maybe I'm not exact, but given this principle you may observe whatever the security software updates file modification times or not.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Thu Apr 05, 2018 10:23 pm 
Offline

Joined: Wed Jun 08, 2011 5:17 pm
Posts: 25
Has this ever been resolved? I'm working on a Mac, too, and every time I run Make, it's turning into a complete rebuild of every single file, including the entire library.
I have neither Endpoint Encryption nor FileVault installed and nothing that should really mess with the modification dates either.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group