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

Timer osx pr #3998

Merged
merged 3 commits into from Oct 19, 2016
Merged

Timer osx pr #3998

merged 3 commits into from Oct 19, 2016

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Oct 18, 2016

if osx build is too slow, it will cut it down, making the cache populate. So restarting the job would help!

@mention-bot
Copy link

@phadej, thanks for your PR! By analyzing the history of the files in this pull request, we identified @ezyang, @23Skidoo and @quchen to be potential reviewers.

@phadej
Copy link
Collaborator Author

phadej commented Oct 18, 2016

I still use os x 10.10 and GHC 7.8.4!

@dcoutts
Copy link
Contributor

dcoutts commented Oct 18, 2016

Cunning!

(don't take this as a code reivew, I don't know this stuff well enough)

Copy link
Member

@23Skidoo 23Skidoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice hack!

echo "$* took $duration seconds."
echo "whole job took $total_duration seconds so far."

# Terminate on OSX
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to mention that we're doing this to populate the cache.

@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2016

Evil. :) But I ran out of disk space even when I just tried a simplified version of the build; let us see if the same problem shows up here.


# Terminate on OSX
if [ $total_duration -ge 2400 -a $(uname) = "Darwin" ]; then
echo "Job taking over 40 minutes. Terminating"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it would be good if this told the person to rerun the build.

@ezyang ezyang merged commit 5f33905 into haskell:master Oct 19, 2016
@phadej phadej deleted the timer-osx-pr branch October 19, 2016 10:42
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

Successfully merging this pull request may close these issues.

None yet

5 participants