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

Adding multi-os and multi-version signatures support #71

Merged
merged 162 commits into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
fb1a178
Naming convention
aminya Feb 16, 2020
47d720d
precompile_activator and precompile_deactivator
aminya Feb 16, 2020
1868301
detectOS()
aminya Feb 16, 2020
4724182
precompile_pather
aminya Feb 16, 2020
e499469
create_includer_file
aminya Feb 16, 2020
9218493
add_includer
aminya Feb 16, 2020
40e77b1
ismulti_os option
aminya Feb 16, 2020
1649dcb
include precompile_include.jl"
aminya Feb 16, 2020
0bb697b
update detectOS() to return osfun
aminya Feb 16, 2020
b369509
overwrite option
aminya Feb 16, 2020
7ddcc2d
separate precompile_pather_multios
aminya Feb 16, 2020
d2fb8dc
new_includer_file
aminya Feb 16, 2020
9e64ad6
using a vector of string instead of ismultios
aminya Feb 16, 2020
e506c9c
new_includer_file using a vector of os
aminya Feb 16, 2020
8b3bda6
removing precompile_pather_multios
aminya Feb 16, 2020
eb8b541
Removing excess input arguments
aminya Feb 16, 2020
d3cf80d
new_includer_file and add_includer in snoopi_bot
aminya Feb 16, 2020
0162cd4
ismulti os in new_includer_file
aminya Feb 16, 2020
ea1fac3
package_name naming convention
aminya Feb 16, 2020
388614b
add_includer bug fix
aminya Feb 16, 2020
93cd78e
detectOS scoping bug fix
aminya Feb 16, 2020
ca44c97
replacing bug fix
aminya Feb 16, 2020
560f2a3
missing () after os functions
aminya Feb 16, 2020
9bb2b28
using one @static
aminya Feb 16, 2020
b6df87d
updating docs
aminya Feb 16, 2020
c0b9711
Update workflow
aminya Feb 16, 2020
8d7a3b5
Fixing snoopi_bench
aminya Feb 16, 2020
6ed95a0
Fixing Windows problem
aminya Feb 17, 2020
6b0ac5c
Fixing windows problem using bash instead (no escaping required)
aminya Feb 17, 2020
bf16b03
Handling SnoopCompile < v"1.2.2" code
aminya Feb 17, 2020
a0c874e
updating the tests for precompile_include
aminya Feb 18, 2020
12f870d
snoopi_bot, snoopi_bench single and multios tests
aminya Feb 18, 2020
b1b2d00
package_path docstring
aminya Feb 18, 2020
03522d5
- Using abstract type in the arguments - Not using parametric notatio…
aminya Feb 18, 2020
00aed79
using AbstractString in the function arguments instead of String
aminya Feb 18, 2020
5013cff
missing -1 in step range
aminya Feb 18, 2020
3e357b1
test only on julia >= 1.2
aminya Feb 18, 2020
975be68
Fixes BotConfig doc
aminya Feb 18, 2020
047c07d
Fix tests
aminya Feb 18, 2020
8f3a771
BotConfig version, else_version, os, else_os support
aminya Feb 26, 2020
5f99c4f
new_includer_file version, else_version, os, else_os support
aminya Feb 26, 2020
07191fa
snoopi_bot version, else_version, os, else_os support
aminya Feb 26, 2020
0a18f10
Old tests update
aminya Feb 26, 2020
b048c99
rename file to precompile_activation.jl
aminya Apr 17, 2020
ed90056
Fix bug in new_includer_file and add example
aminya Apr 17, 2020
12678a3
Fix version printing
aminya Apr 17, 2020
bfd19b0
Fix multistr bug
aminya Apr 17, 2020
93fd975
Fix includer tests
aminya Apr 17, 2020
c14433e
Fix typo bug
aminya Apr 17, 2020
7b3401b
TestPackage3 for multi version test
aminya Apr 17, 2020
ac6b615
multi version - single os test
aminya Apr 17, 2020
601322c
sort versions
aminya Apr 17, 2020
865d860
Refractor multi_version
aminya Apr 17, 2020
37ca112
Refractor multi_os
aminya Apr 17, 2020
e7a246f
Make else phrase independent
aminya Apr 17, 2020
13108cb
Update tests for add_includer, de/activation, new_includer_file
aminya Apr 17, 2020
01232a4
Move ismultios ismultiversion under don't edit
aminya Apr 17, 2020
70cdff6
Multi version snoop test
aminya Apr 18, 2020
1092bb9
Update docs
aminya Apr 18, 2020
1b0961c
Support for skipping precompilation in other situations
aminya Apr 18, 2020
ac4c465
Update the yaml file.
aminya Apr 18, 2020
79c4e25
Standardize different names from Github actions
aminya Apr 18, 2020
14467dd
addtestdep using default Project.toml in else
aminya Apr 19, 2020
e7be8f0
move the macro codes to helper functions + consolidation of API
aminya Apr 22, 2020
fe26bd8
pathof_noload
aminya Apr 24, 2020
2a2ac12
precompiles_rootpath
aminya Apr 23, 2020
074b6d8
GoodPath
aminya Apr 23, 2020
c8e3d4b
Path in examples
aminya Apr 23, 2020
1a85448
remove all joinpath
aminya Apr 23, 2020
0127976
Better error code when no precompile signature is detected
aminya Apr 23, 2020
8da489a
snoopi function
aminya Apr 23, 2020
0e001a8
using snoopi function directly
aminya Apr 23, 2020
04d2b91
copy the snoop code directly in
aminya Apr 24, 2020
dd2523a
Adding tmin to BotConfig
aminya Apr 24, 2020
b7c57e4
Add package_path to BotConfig and reorder the arguments
aminya Apr 24, 2020
4d83bd1
Update tests
aminya Apr 24, 2020
d096269
Introducing snoopi_bot function instead of macro
aminya Apr 24, 2020
170abf2
Introducing snoopi_bench function instead of macro
aminya Apr 24, 2020
04df3c5
Exporting functions
aminya Apr 24, 2020
572d1ec
Update docs for functions
aminya Apr 24, 2020
ddf0bc8
TestPackage4
aminya Apr 24, 2020
76f43a6
Search for the script if it isn't found
aminya Apr 24, 2020
eb8a9ba
comment edit
aminya Apr 24, 2020
0c89a51
checking v"1.2.0" as min
aminya Apr 24, 2020
4aa652e
using @__DIR__ for TestPackage4
aminya Apr 24, 2020
23e8ed9
insert exactly before end
aminya Apr 24, 2020
e8cc16a
includer nothing for v<1.2
aminya Apr 24, 2020
022fa54
Update the tests
aminya Apr 25, 2020
f3c9b35
Alternative GoodPath - commented
aminya Apr 25, 2020
66b69d9
Info befor parcel
aminya Apr 25, 2020
31de0e6
SnoopCompile_ENV
aminya Apr 25, 2020
f69728b
Add exhaustive remover option
aminya Apr 25, 2020
f9c6e2c
Report time in ms
aminya Apr 25, 2020
be73bee
unique signatures
aminya Apr 25, 2020
b3b7561
default_blacklist like Main
aminya Apr 25, 2020
a8854d2
Base.precompile to avoid conflicts
aminya Apr 25, 2020
3c05ab5
Using Main for Core.eval in Core
aminya Apr 25, 2020
7b75412
Merge branch 'master' into multios
aminya Apr 25, 2020
e8729eb
Fix parcel's performance hole
aminya Apr 25, 2020
5fbbfa2
Merge branch 'multios' of https://github.com/aminya/SnoopCompile.jl i…
aminya Apr 25, 2020
7e691b1
Fix conflicts - use sets
aminya Apr 25, 2020
06e736a
get module from module symbol
aminya Apr 25, 2020
c07b2fb
move detectOS to utils
aminya Apr 27, 2020
3b27add
refractor standardize_osname ti utils
aminya Apr 27, 2020
47b8b02
move timesum to utils
aminya Apr 27, 2020
af763ff
Typo fix
aminya May 4, 2020
57add11
Zygote in the docs
aminya May 4, 2020
3dfc73a
GitHub Actions instead of Travis, Appveyor
aminya May 4, 2020
4e8c15b
option for disabling default remove_blacklist
aminya May 4, 2020
67b3c62
Add Documenter for ColorTypes tests
aminya May 4, 2020
d4e3e95
Remove timesum direct test - It is tested in snoopi_bot instead
aminya May 4, 2020
a49e744
Update workflow file
aminya May 5, 2020
4c5556d
`@timev` benchmark
aminya May 5, 2020
3ae6579
backport patch for Julia <=1.2
aminya May 7, 2020
bb64dae
Skip else_version test on nightly
aminya May 7, 2020
45a3cd9
use function instead of macro in the tests
aminya May 7, 2020
5e11487
Update src/bot/botutils.jl
aminya May 7, 2020
1ade835
Fix s to ms conversion
aminya May 7, 2020
e51358e
Update src/bot/botutils.jl
aminya May 7, 2020
a689922
detectOS simpler flow
aminya May 7, 2020
a4fd28c
Update src/bot/snoopi_bench.jl
aminya May 7, 2020
e377f3d
Naming convention
aminya May 8, 2020
f89ec24
remove enumeration of Set
aminya May 8, 2020
30912b1
deprecate bot macros
aminya May 16, 2020
beb46d2
Assume that precompilation is the same for all patch versions
aminya May 16, 2020
25712a0
Merge branch 'master' into multios
aminya May 16, 2020
d7e5b12
Merge branch 'master' into multios
aminya May 16, 2020
c32ddba
Support for snoopc in the bot
aminya May 31, 2020
bcb5c88
using snoopv_bench for Julia <1.2
aminya May 31, 2020
1eca257
detecOS for Julia <1.2 and <1.1
aminya May 31, 2020
9b5387f
snoopc current directory to avoid path
aminya May 31, 2020
48c2ab2
Improve bot docs and slim down the bot API.
timholy Jun 9, 2020
d17df48
Clarify the role of SnoopCompile_ENV
timholy Jun 9, 2020
f859488
using VersionFloat in folder names
aminya Jun 10, 2020
8a03812
Merge branch 'multios' into teh/multios
aminya Jun 10, 2020
67fbe10
Update docs/src/bot.md
aminya Jun 11, 2020
b55528c
BotConfig - os - Update src/bot.jl
aminya Jun 11, 2020
737f3ec
BotConfig.else_os - Update src/bot.jl
aminya Jun 11, 2020
7c30c62
on push master - Update docs/src/bot.md
aminya Jun 11, 2020
bbda9e9
Botconfig.version - Update src/bot.jl
aminya Jun 11, 2020
4577a75
path_to_example_script - Update src/bot/snoop_bot.jl
aminya Jun 11, 2020
39fb469
BotConfig.else_version Update src/bot.jl
aminya Jun 11, 2020
4398f1b
path_to_example_script - Update src/bot/snoop_bench.jl
aminya Jun 11, 2020
cbcb960
JuliaVersionNumber to allow using "nightly"
aminya Jun 11, 2020
977e800
Merge branch 'master' into multios
aminya Jun 11, 2020
cd0777c
Merge branch 'master' into multios
aminya Jun 11, 2020
162beea
use `-DEV` for lower bound
aminya Jun 11, 2020
fc0114b
Merge pull request #1 from timholy/teh/multios
aminya Jun 11, 2020
633b488
replace 1.4.1 with 1.4.2
aminya Jun 11, 2020
0c02e65
remove manual benchmarking guide in `timesum`
aminya Jun 11, 2020
2b0b485
can_eval: eval in Main of module is Core
aminya Jun 11, 2020
014a4ef
can_eval: print exception and other information
aminya Jun 11, 2020
6ad7524
rename exhaustive to check_eval
aminya Jun 11, 2020
9fb6960
Merge branch 'master' into multios
aminya Jun 13, 2020
cf7ffeb
[skip ci] rename snoopi_bot to snoop_bot in a comment
aminya Jun 13, 2020
c44d959
Add check_eval to can_eval, add_if_evals! and handle_kwbody
aminya Jun 14, 2020
8aa89af
Remvoe exhaustive_remover and add it as TODO for snoopc (remove_if_no…
aminya Jun 14, 2020
b9ff153
[skip ci] warn about using check_eval = false
aminya Jun 14, 2020
f4fb151
Merge pull request #2 from aminya/can_eval
aminya Jun 14, 2020
258c3b1
better standardize_osname algorithm
aminya Jun 14, 2020
3322259
detectOS polishing and tests
aminya Jun 14, 2020
255d244
pathof_noload tests
aminya Jun 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.0.5'
- '1.2'
- '1.4.2'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
*.jl.*.cov
*.jl.mem
Manifest.toml
test/bot/*/deps/SnoopCompile/precompile/*
test/bot/*/src/precompile_includer.jl
17 changes: 3 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
# Only documentation until GitHub actions docs are set

# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 1.0
- 1.2 # first version supporting @snoopi
- 1
- nightly
notifications:
email: false

# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SnoopCompile"); Pkg.test("SnoopCompile"; coverage=true)'

jobs:
include:
- stage: "Documentation"
julia: nightly
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ author = ["Tim Holy <[email protected]>"]
version = "1.4.0"

[deps]
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
Expand Down
44 changes: 0 additions & 44 deletions appveyor.yml

This file was deleted.

Loading