-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable precompilation for selected packages via
Preferences
(#334)
Co-authored-by: Tim Holy <tim.holy@gmail.com>
- Loading branch information
Showing
8 changed files
with
69 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name = "SnoopPC_D" | ||
uuid = "8c347477-c4a5-4b7f-b911-c68b2b9ed891" | ||
authors = ["Tim Holy <tim.holy@gmail.com>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
SnoopPrecompile = "66db9d55-30c0-4569-8b51-7e840670fc0c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module SnoopPC_D | ||
|
||
using SnoopPrecompile | ||
|
||
@precompile_setup begin | ||
@precompile_all_calls begin | ||
global workload_ran = true | ||
end | ||
end | ||
|
||
end # module SnoopPC_D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nanosoldier
runtests(subdir="SnoopPrecompile", vs="@333b645e256ed09d7e785a3a6beef81f863b85e7")
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your job was not accepted, please verify the trigger phrase syntax.
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maleadt, any suggestions for how to do this better? See https://github.com/timholy/SnoopCompile.jl/commits/master, this is attempting to compare the merge of #334 against the previous commit.
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I currently did not implement a
vs
mode when testing packages; it's always comparing against the latest released version. I figured that it wouldn't be common to compare two unreleased versions of a package, and to compare against released-but-not-latest versions of a package is not straightforward (we currently just register a new version and let Pkg resolve, as there isn't an easy way to fix a dependency to a specific version).I guess I could just register the
vs
commit too though... Let me investigate.fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, great! So that previous run that you did probably already tested this commit? (It was merged before you triggered the run.)
Note that SnoopPrecompile has an independent release process and is not included in SnoopCompile itself. I.e., SnoopCompile v2.9.8 does not include SnoopPrecompile at all. SnoopPrecompile is at v1.0.1.
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll just go ahead and release. Thanks @maleadt!
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it included that.
I've added support for the
vs
keyword, and also maderuntests
on PRs behave similarly to doing the same on the Julia repo: now it'll compare against the merge-head (typically themaster
branch) instead of just using the latest released version from the registry. That should be more accurate, as it'll only test changes from the PR. If you want to test against a released version, you can always pointvs
to a tag.I'll deploy this shortly.
fa775b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds awesome! Thanks for your outstanding stewardship, it really means a lot to the whole community.