I've tried several ways to build gambit with test coverage.
Gcc has problems with compiling gambit-generated C code with test coverage and profiling arcs; the PR is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928
So I tried LLVM on Mac OS X. Things got stuck compiling _t-univ.scm (at least, I ran out of patience).
Which led me to wonder: can Gambit be configured not to incorporate _t-univ.scm? I don't think I ever use or need it, and it's the biggest thing in gsc/.
Brad
Afficher les réponses par date
Hi,
I also have problems compiling _t-univ.scm with clang or clang++. I left it working with clang for at least 6 hours and it never finished. I have the latest XCode tools:
clang -v Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix
Is there a simple way to remove it by hand in the meantime? Francois
On Feb 18, 2015, at 11:21 AM, Bradley Lucier lucier@math.purdue.edu wrote:
I've tried several ways to build gambit with test coverage.
Gcc has problems with compiling gambit-generated C code with test coverage and profiling arcs; the PR is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928
So I tried LLVM on Mac OS X. Things got stuck compiling _t-univ.scm (at least, I ran out of patience).
Which led me to wonder: can Gambit be configured not to incorporate _t-univ.scm? I don't think I ever use or need it, and it's the biggest thing in gsc/.
Brad _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
You can’t configure it out, but you could change the makefiles to not compile it (but you need to bootstrap Gambit first).
The proper solution is probably to chop _t-univ.scm into smaller files, like for _t-c-[123].scm .
File an issue on github and I will add this to my todo.
Marc
On Feb 18, 2015, at 11:21 AM, Bradley Lucier lucier@math.purdue.edu wrote:
I've tried several ways to build gambit with test coverage.
Gcc has problems with compiling gambit-generated C code with test coverage and profiling arcs; the PR is here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64928
So I tried LLVM on Mac OS X. Things got stuck compiling _t-univ.scm (at least, I ran out of patience).
Which led me to wonder: can Gambit be configured not to incorporate _t-univ.scm? I don't think I ever use or need it, and it's the biggest thing in gsc/.
Brad
I think _t-univ.scm is useless for most people, so I have the following suggestion:
Distribute gambit in git with _t-univ.c not incorporated into the build by “make from-scratch”.
Then add an “enable-universal” configure option to rebuild gambit with _t-univ.scm if someone wants it.
Then perhaps later we can have an “enable-universal-remote” configuration option.
Brad
Begin forwarded message:
From: Bradley Lucier lucier@purdue.edu Subject: Re: Building gambit with --enable-test-coverage Date: February 18, 2015 at 12:15:16 PM EST To: Marc Feeley feeley@iro.umontreal.ca Cc: Bradley Lucier lucier@purdue.edu, Bradley Lucier lucier@math.purdue.edu, Gambit List gambit-list@iro.umontreal.ca
I think _t-univ.scm is useless for most people, so I have the following suggestion:
Distribute gambit in git with _t-univ.c not incorporated into the build by “make from-scratch”.
Then add an “enable-universal” configure option to rebuild gambit with _t-univ.scm if someone wants it.
Then perhaps later we can have an “enable-universal-remote” configuration option.
Brad