-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Total rewrite of the package (aka make PackageCompilerX the new PackageCompiler) #304
Merged
Merged
Changes from 79 commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
23748d0
clear everything out
KristofferC 7d84910
Files generated by PkgTemplates
KristofferC a5a55a3
test build script from PackageCompiler (#1)
KristofferC 8e94994
implement support for precompile file (#5)
KristofferC f1e4ee4
use gcc for now
KristofferC c4e4338
allow for multiple packages
KristofferC 3666883
some generalizations
KristofferC 80ccbe1
add an example (#7)
KristofferC bc76828
use Travis for docs (#8)
KristofferC 7b15882
fixups
KristofferC 48fb117
fix windows
KristofferC f421ab9
start with an create_app function
KristofferC 3498873
Implement a create app function that bundles everything needed to run…
KristofferC 613f7c2
add an audit function (#17)
KristofferC b59a7cb
add option to compile with incremental=false and set to default (#19)
KristofferC c6e2bac
fix on macos (#21)
KristofferC d6c0109
only include needed stdlibs in apps (#25)
KristofferC 5f0a90e
try not use rpath to local julia install on linux (#23)
KristofferC 76ed66c
Initial work on docs (#34)
KristofferC a3372bc
add docs for apps (#37)
KristofferC 0ec0309
fix support
KristofferC 8692e96
fix typo in docs
KristofferC 8a8c612
docs: fix typo (#40)
cmcaine 2dac507
fix a typo (#41)
Roger-luo c43f07c
add a mention that this is still WIP
KristofferC 4cb1fd2
Create CompatHelper.yml (#48)
DilumAluthge 15eddce
CompatHelper: only update root manifest (#50)
DilumAluthge 8f7d453
improvements to cpu targets (#43)
KristofferC a9d336a
fix some links
KristofferC 4031766
WIP on making app work on windows. (#55)
KristofferC ead3173
workaround julia#34076 (#54)
KristofferC c1aad53
Windows ci (#56)
KristofferC 4aca7e0
Update Project.toml
KristofferC 48c6aeb
Developer docs (#57)
KristofferC aaa574f
add docstrings (#59)
KristofferC 6f5fcf2
Update README.md
KristofferC 85dbf5a
Update index.md
KristofferC 78babba
Update intro.md
KristofferC 0f4b55a
some proof reading (#61)
KristofferC f0b14d9
remove github documenter workflow
KristofferC 9373310
Deploy docs with GitHub actions (#62)
KristofferC 17cbe46
update Documenter
KristofferC 796ec53
fix order of check (#64)
KristofferC ed036e1
fix typos (#65)
BeastyBlacksmith 5388091
Documentation: typos and wording in apps.md (#66)
NHDaly b626fd8
improve testing (#60)
KristofferC 11d7343
do not try bundle artifacts that dont have an entry for our system (#69)
KristofferC 6707a64
dont run full Base init and do some cleanup (#70)
KristofferC b48365a
use compilecache instead of using in output process (#71)
KristofferC d38edb0
fix precompilation path (#73)
KristofferC 6a6f7c4
fix depot path (#75)
KristofferC 5ea6854
fix path to sysimg (#74)
KristofferC 96b2a94
change to just use using (#77)
KristofferC b047197
Don't show `failed to execute` messages by default (#79)
DilumAluthge dcd6922
require 1.3.1
d48d7e6
add a Plots.jl example (#82)
8720aa9
bump Documenter version
KristofferC fd3764d
Add some flags to be more correct on 32 bit (#58)
9045f53
add a DOCUMENTER_KEY to github workflow
KristofferC 95f3e2e
add some langauge keys to code blocks
KristofferC ac1af64
fixup docs for create_app
1338c5e
fix highlighting
KristofferC 30164fb
fixup links after repo move (#87)
KristofferC f51cb26
Add `cpu_target` to the docstrings of `create_app` and `create_sysimage`
DilumAluthge b8b3cec
Docs: Document how to use a package's test suite to generate precompi…
DilumAluthge 9101f3f
use travis for building docs (#88)
KristofferC 92c270a
add a note to say to use official binaries
KristofferC 0bc3fbc
set BINDIR in output process (#92)
KristofferC 49e21a3
Use artifacts on windows to get the compiler (#91)
KristofferC 4d62801
tweak how default sysimage is replaced on Windows (#95)
KristofferC 155f977
Allow user to customize `cpu_target` in `create_app` (#101)
KristofferC b144cbf
add an option to include a script into the sysimage (#103)
KristofferC f8d93ba
Try fix arm64 (#100)
IanButterworth 6965e68
update Project uuid and version
KristofferC 5df4211
rename PackageCompilerX to PackageCompiler
KristofferC 817a366
use better defaults for march and cpu target (#105)
KristofferC 54f89dc
Allow PRs to push preview documentation (#305)
asinghvi17 c02c4e7
Add default value (no packages) to create_sysimage. (#306)
fredrikekre 00462ee
Some fixes for documentation build and deployment (#307)
asinghvi17 2742c71
add back authors to LICENSE file
KristofferC File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
name: CompatHelper | ||
|
||
on: | ||
schedule: | ||
- cron: '00 * * * *' | ||
|
||
jobs: | ||
CompatHelper: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.2.0] | ||
julia-arch: [x86] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- name: Pkg.add("CompatHelper") | ||
run: julia -e 'using Pkg; Pkg.add("CompatHelper")' | ||
- name: CompatHelper.main() | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: julia -e 'using CompatHelper; CompatHelper.main( (; registries) -> CompatHelper._update_manifests(pwd(); registries = registries) )' |
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: master | ||
|
||
pull_request: | ||
branches: master | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.3.0] | ||
julia-arch: [x86] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v1.0.0 | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
- name: Install dependencies | ||
run: julia --project=docs/ -e 'using Pkg; Pkg.instantiate()' | ||
- name: Build and deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | ||
run: julia --project=docs/ docs/make.jl deploy |
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 |
---|---|---|
@@ -1,20 +1,11 @@ | ||
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.cov | ||
*.jl.mem | ||
deps.jl | ||
*.csv | ||
snoopy.jl | ||
precompile.jl | ||
sysimg | ||
*.ji | ||
*.o | ||
.DS_Store | ||
/Manifest.toml | ||
/examples/MyApp/MyApp | ||
/dev/ | ||
*.so | ||
*.so.* | ||
*.dylib | ||
*.dll | ||
hello | ||
hello.exe | ||
packages | ||
deps/usr/ | ||
deps/build.log | ||
Manifest.toml | ||
*.dylib | ||
*.o |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,46 +1,39 @@ | ||
## Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
|
||
language: julia | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
- windows | ||
julia: | ||
- 1.0 | ||
- 1.3 | ||
- nightly | ||
|
||
matrix: | ||
before_install: | ||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update; fi | ||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ $TRAVIS_CPU_ARCH != arm64 ]; then sudo apt-get install gcc-multilib; fi | ||
arch: | ||
- amd64 | ||
- x86 | ||
- arm64 | ||
jobs: | ||
allow_failures: | ||
- julia: nightly | ||
|
||
- arch: x86 | ||
exclude: | ||
- os: osx | ||
arch: x86 | ||
- os: osx | ||
arch: arm64 | ||
- os: windows | ||
arch: arm64 | ||
include: | ||
- stage: "Documentation" | ||
julia: 1.3 | ||
os: linux | ||
script: | ||
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate()' | ||
- julia --project=docs/ docs/make.jl | ||
after_success: skip | ||
branches: | ||
only: | ||
- master | ||
- /^release-.*/ | ||
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags | ||
notifications: | ||
email: false | ||
|
||
git: | ||
depth: 99999999 | ||
|
||
## uncomment the following lines to allow failures on nightly julia | ||
## (tests will run but not make your overall status red) | ||
# matrix: | ||
# allow_failures: | ||
# - julia: nightly | ||
|
||
## uncomment and modify the following lines to manually install system packages | ||
#addons: | ||
# apt: # apt-get for linux | ||
# packages: | ||
# - gfortran | ||
#before_script: # homebrew for mac | ||
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi | ||
|
||
## uncomment the following lines to override the default test script | ||
#script: | ||
# - julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("PackageCompiler"); Pkg.test("PackageCompiler"; coverage=true)' | ||
|
||
after_success: | ||
# push coverage results to Coveralls | ||
- julia -e 'cd(normpath(Base.find_package("PackageCompiler"), "..", "..")); using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' | ||
# push coverage results to Codecov | ||
- julia -e 'cd(normpath(Base.find_package("PackageCompiler"), "..", "..")); using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' |
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,9 @@ | ||
[[x86_64-w64-mingw32]] | ||
git-tree-sha1 = "572b61b5075459e3ed62317e674398166ca98dd4" | ||
os = "windows" | ||
arch = "x86_64" | ||
lazy = true | ||
|
||
[[x86_64-w64-mingw32.download]] | ||
sha256 = "fe3f401bc936fbe6af940b26c5e0f266f762a3416f979c706e599b24082dc5c7" | ||
url = "/~https://github.com/JuliaComputing/PackageCompilerX.jl/releases/download/v0.1/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.tar.gz" |
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,19 @@ | ||
Copyright (c) 2019 Kristoffer Carlsson <kristoffer.carlsson@juliacomputing.com> | ||
KristofferC marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,30 +1,18 @@ | ||
name = "PackageCompiler" | ||
uuid = "9b87118b-4619-50d2-8e1e-99f35a4d4d9d" | ||
version = "0.6.5" | ||
version = "1.0.0" | ||
|
||
[deps] | ||
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | ||
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
WinRPM = "c17dfb99-b4f7-5aad-8812-456da1ad7187" | ||
|
||
[compat] | ||
julia = "1" | ||
WinRPM = "0.4.3, 1" | ||
julia = "1.3.1" | ||
|
||
[extras] | ||
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" | ||
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" | ||
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" | ||
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | ||
OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
Example = "7876af07-990d-54b4-ab0e-23690620f79a" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228" | ||
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63" | ||
|
||
|
||
[targets] | ||
test = ["OffsetArrays", "JSON", "Pkg", "DataStructures", "ColorTypes", "Test", "UnicodePlots", "FixedPointNumbers", "ArgParse"] | ||
test = ["Test", "Example"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hm, I mean I see that this code is mainly by you, but would it make sense to leave me in here, or do we just say, its in the history?
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.
Maybe something like: Kristoffer, Simon, Luca, and other contributors? Just to be comprehensive.
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.
That sounds fair!
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 would appreciate that, as I put a lot of effort on PackageCompiler.jl development.
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.
Definitely ;) That I was alone in the license was wrong to begin with!
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.
Can someone make a suggestion here so it can just be accepted? Otherwise, we absolutely must add the names. Also let's add
Julia Computing
to the mix please.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.
Yeah I'll make a suggestion
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.
Sorry, didn't think about this, it was just the default that got generated by PkgTemplates. Let's merge all names in here :)