bluespec.com Forum Index bluespec.com
Bluespec Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compilation Problem Bluespec-2014.07.A

 
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler)
View previous topic :: View next topic  
Author Message
PhantomFav



Joined: 13 Jun 2011
Posts: 16

PostPosted: Thu Aug 07, 2014 6:16 am    Post subject: Compilation Problem Bluespec-2014.07.A Reply with quote

Hi, i have just started to use the new version of Bluespec:
Bluespec-2014.07.A
Every time i try to compile my project, the compiler does not recognize the files timestamp and recompile the whole project even if it is unnecessary for some untouched module. This problem does not occur with previous release.

This is very frustrating and a huge waste of time for me, I am using Centos 6 (Final) 32-bit. Is this a common problem?
Back to top
View user's profile Send private message
quark
Site Admin


Joined: 02 Nov 2007
Posts: 499

PostPosted: Tue Aug 19, 2014 1:49 pm    Post subject: Re: Compilation Problem Bluespec-2014.07.A Reply with quote

No, this is not a common problem. You're the first to report an issue like this. When you say "previous release", what version is that?

What command-line flags are you using, or how are you invoking the compiler? Do you still have a problem if you simplify things -- that is, can create the following two files (as P1.bsv and P2.bsv) in the a new directory:
Code:
package P1;
Bool x = True;
endpackage

Package P2;
import P1::*;
Bool y = !x;
endpackage

And change to that directory and run BSC will no flags except for -u:
Code:
bsc -u P2.bsv

And then run that same command again. Does this simple example still cause BSC to recompile, instead of producing this output:
Code:
checking package dependencies
All packages are up to date.

And if you use the previous release, it does give that output?
Back to top
View user's profile Send private message
PhantomFav



Joined: 13 Jun 2011
Posts: 16

PostPosted: Thu Sep 04, 2014 4:35 am    Post subject: Reply with quote

I don't know how this can be possible but it solved by itself, sorry for the silly question
Back to top
View user's profile Send private message
quark
Site Admin


Joined: 02 Nov 2007
Posts: 499

PostPosted: Thu Sep 04, 2014 10:13 am    Post subject: Reply with quote

No worries. I'm glad it's working for you now. Perhaps your clock was out of sync with the file system at some point, which is now resolved. If the source files had a timestamp that was newer than the generated .bo/.ba/.v files, then BSC would force recompilation.
Back to top
View user's profile Send private message
PhantomFav



Joined: 13 Jun 2011
Posts: 16

PostPosted: Thu Sep 04, 2014 11:13 am    Post subject: Reply with quote

i'm not sure, but i think it is a matter of how the variable LM_LICENSE_FILE is set, whe i will found out why i will post the bug report.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler) All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum
bluespec.com topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP