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

Fixes for recent Julia versions #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JamesWrigley
Copy link

This has two fixes for issues I came across on 1.10:

  • Stop using the deprecated Base.catch_stack() on >= 1.7 (1f5d44a)
  • Update the use of Base.cumulative_compile_time_ns() on >= 1.9 (6c7dcbb). Without this the tests would hang when stats=true was passed because print_test_results() would fail, which caused the printer task to fail, which meant that there would be no readers take!()'ing from the worker outchan, which caused everything to hang.

Fixes #49.

Base.catch_stack() was deprecated in 1.7.
In v1.9, Base.cumulative_compile_time_ns() was changed to return a tuple of
`(compile_time, recompile_time)`. We now use the sum of the two to show the
total compilation time.
@JamesWrigley
Copy link
Author

(gentle bump)

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.

Deprecation of catch_stack causes slowdown
1 participant