Skip to content
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

Enabling analytics during compilation results in spurious output #49

Open
tchajed opened this issue Aug 16, 2019 · 3 comments
Open

Enabling analytics during compilation results in spurious output #49

tchajed opened this issue Aug 16, 2019 · 3 comments

Comments

@tchajed
Copy link

tchajed commented Aug 16, 2019

Due to a Coq bug (coq/coq#10640), I get this printed out every time I compile a file with the plugin loaded via .coqrc:

R15:34 Analytical.Analytics <> <> lib

There doesn't seem to be a way to fix this, but I wanted to document it here in case anyone wondered where that was coming from.

@tchajed
Copy link
Author

tchajed commented Aug 16, 2019

Side note: coq_makefile by default compiles with the -q flag, disabling loading the .coqrc, so you won't see this output and analytics are not recorded during compilation. I only see it because we have custom build infrastructure that happens to not pass -q.

@tlringer
Copy link
Collaborator

Oh, interesting, how do we set it up not to use -q? Ideally everything would load the .coqrc, it's misleading not to

@tchajed
Copy link
Author

tchajed commented Aug 29, 2019

It is possible to change this, but it's not straightforward. You need to overwrite COQFLAGS in Makefile.coq to an empty string (or $(OTHERFLAGS) $(COQEXTRAFLAGS) if you're using those variables). The easiest way to implement that is to set them in Makefile.coq.conf.

(where in the above Makefile.coq is the name of the Makefile you generated with coq_makefile)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants