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

time on OSX does not support -f #11

Open
deinst opened this issue Dec 12, 2020 · 1 comment
Open

time on OSX does not support -f #11

deinst opened this issue Dec 12, 2020 · 1 comment

Comments

@deinst
Copy link
Contributor

deinst commented Dec 12, 2020

I'm pretty sure that this is not worth the trouble that it would take to fix, but OSX does not understand time -f "%e" thereby causing make check to fail.

There are two possible ways for a user to fix this.

  1. Change the line in makefile.subdirs from @time -f "%e" $< to @time $<. This gives slightly messier output.
  2. Download gnu-time from homebrew and change the line to @gtime -f "%e" $<.

Hopefully this note can save someone a bit of time.

@fredrik-johansson
Copy link
Collaborator

Is there some easy way to detect OSX in the makefile and then simply change the command to @time $<? Or just run the test without timing output; it's not really essential.

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