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

Total rewrite of the package (aka make PackageCompilerX the new PackageCompiler) #304

Merged
merged 80 commits into from Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
23748d0
clear everything out
KristofferC Feb 9, 2020
7d84910
Files generated by PkgTemplates
KristofferC Oct 16, 2019
a5a55a3
test build script from PackageCompiler (#1)
KristofferC Oct 22, 2019
8e94994
implement support for precompile file (#5)
KristofferC Oct 22, 2019
f1e4ee4
use gcc for now
KristofferC Oct 23, 2019
c4e4338
allow for multiple packages
KristofferC Oct 23, 2019
3666883
some generalizations
KristofferC Oct 23, 2019
80ccbe1
add an example (#7)
KristofferC Oct 23, 2019
bc76828
use Travis for docs (#8)
KristofferC Oct 23, 2019
7b15882
fixups
KristofferC Oct 23, 2019
48fb117
fix windows
KristofferC Oct 23, 2019
f421ab9
start with an create_app function
KristofferC Oct 23, 2019
3498873
Implement a create app function that bundles everything needed to run…
KristofferC Nov 27, 2019
613f7c2
add an audit function (#17)
KristofferC Nov 27, 2019
b59a7cb
add option to compile with incremental=false and set to default (#19)
KristofferC Nov 27, 2019
c6e2bac
fix on macos (#21)
KristofferC Nov 28, 2019
d6c0109
only include needed stdlibs in apps (#25)
KristofferC Nov 28, 2019
5f0a90e
try not use rpath to local julia install on linux (#23)
KristofferC Nov 30, 2019
76ed66c
Initial work on docs (#34)
KristofferC Dec 2, 2019
a3372bc
add docs for apps (#37)
KristofferC Dec 2, 2019
0ec0309
fix support
KristofferC Dec 2, 2019
8692e96
fix typo in docs
KristofferC Dec 3, 2019
8a8c612
docs: fix typo (#40)
cmcaine Dec 3, 2019
2dac507
fix a typo (#41)
Roger-luo Dec 8, 2019
c43f07c
add a mention that this is still WIP
KristofferC Dec 9, 2019
4cb1fd2
Create CompatHelper.yml (#48)
DilumAluthge Dec 11, 2019
15eddce
CompatHelper: only update root manifest (#50)
DilumAluthge Dec 11, 2019
8f7d453
improvements to cpu targets (#43)
KristofferC Dec 11, 2019
a9d336a
fix some links
KristofferC Dec 11, 2019
4031766
WIP on making app work on windows. (#55)
KristofferC Dec 11, 2019
ead3173
workaround julia#34076 (#54)
KristofferC Dec 12, 2019
c1aad53
Windows ci (#56)
KristofferC Dec 12, 2019
4aca7e0
Update Project.toml
KristofferC Dec 12, 2019
48c6aeb
Developer docs (#57)
KristofferC Dec 12, 2019
aaa574f
add docstrings (#59)
KristofferC Dec 12, 2019
6f5fcf2
Update README.md
KristofferC Dec 12, 2019
85dbf5a
Update index.md
KristofferC Dec 12, 2019
78babba
Update intro.md
KristofferC Dec 12, 2019
0f4b55a
some proof reading (#61)
KristofferC Dec 13, 2019
f0b14d9
remove github documenter workflow
KristofferC Dec 13, 2019
9373310
Deploy docs with GitHub actions (#62)
KristofferC Dec 13, 2019
17cbe46
update Documenter
KristofferC Dec 13, 2019
796ec53
fix order of check (#64)
KristofferC Dec 13, 2019
ed036e1
fix typos (#65)
BeastyBlacksmith Dec 16, 2019
5388091
Documentation: typos and wording in apps.md (#66)
NHDaly Jan 1, 2020
b626fd8
improve testing (#60)
KristofferC Jan 2, 2020
11d7343
do not try bundle artifacts that dont have an entry for our system (#69)
KristofferC Jan 4, 2020
6707a64
dont run full Base init and do some cleanup (#70)
KristofferC Jan 4, 2020
b48365a
use compilecache instead of using in output process (#71)
KristofferC Jan 7, 2020
d38edb0
fix precompilation path (#73)
KristofferC Jan 7, 2020
6a6f7c4
fix depot path (#75)
KristofferC Jan 7, 2020
5ea6854
fix path to sysimg (#74)
KristofferC Jan 8, 2020
96b2a94
change to just use using (#77)
KristofferC Jan 9, 2020
b047197
Don't show `failed to execute` messages by default (#79)
DilumAluthge Jan 16, 2020
dcd6922
require 1.3.1
Jan 19, 2020
d48d7e6
add a Plots.jl example (#82)
Jan 20, 2020
8720aa9
bump Documenter version
KristofferC Jan 20, 2020
fd3764d
Add some flags to be more correct on 32 bit (#58)
Jan 20, 2020
9045f53
add a DOCUMENTER_KEY to github workflow
KristofferC Jan 21, 2020
95f3e2e
add some langauge keys to code blocks
KristofferC Jan 21, 2020
ac1af64
fixup docs for create_app
Jan 21, 2020
1338c5e
fix highlighting
KristofferC Jan 22, 2020
30164fb
fixup links after repo move (#87)
KristofferC Feb 3, 2020
f51cb26
Add `cpu_target` to the docstrings of `create_app` and `create_sysimage`
DilumAluthge Jan 27, 2020
b8b3cec
Docs: Document how to use a package's test suite to generate precompi…
DilumAluthge Jan 24, 2020
9101f3f
use travis for building docs (#88)
KristofferC Feb 4, 2020
92c270a
add a note to say to use official binaries
KristofferC Feb 5, 2020
0bc3fbc
set BINDIR in output process (#92)
KristofferC Feb 5, 2020
49e21a3
Use artifacts on windows to get the compiler (#91)
KristofferC Feb 6, 2020
4d62801
tweak how default sysimage is replaced on Windows (#95)
KristofferC Feb 6, 2020
155f977
Allow user to customize `cpu_target` in `create_app` (#101)
KristofferC Feb 8, 2020
b144cbf
add an option to include a script into the sysimage (#103)
KristofferC Feb 8, 2020
f8d93ba
Try fix arm64 (#100)
IanButterworth Feb 8, 2020
6965e68
update Project uuid and version
KristofferC Feb 9, 2020
5df4211
rename PackageCompilerX to PackageCompiler
KristofferC Feb 9, 2020
817a366
use better defaults for march and cpu target (#105)
KristofferC Feb 9, 2020
54f89dc
Allow PRs to push preview documentation (#305)
asinghvi17 Feb 9, 2020
c02c4e7
Add default value (no packages) to create_sysimage. (#306)
fredrikekre Feb 10, 2020
00462ee
Some fixes for documentation build and deployment (#307)
asinghvi17 Feb 10, 2020
2742c71
add back authors to LICENSE file
KristofferC Feb 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
47 changes: 0 additions & 47 deletions .appveyor.yml

This file was deleted.

1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/CompatHelper.yml
@@ -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) )'
11 changes: 0 additions & 11 deletions .github/workflows/TagBot.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/documenter-workflow.yml
@@ -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
23 changes: 7 additions & 16 deletions .gitignore
@@ -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
8 changes: 0 additions & 8 deletions .mailmap

This file was deleted.

67 changes: 30 additions & 37 deletions .travis.yml
@@ -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())'
9 changes: 9 additions & 0 deletions Artifacts.toml
@@ -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"
19 changes: 19 additions & 0 deletions LICENSE
@@ -0,0 +1,19 @@
Copyright (c) 2015-2020 Kristoffer Carlsson, Simon Danisch, Luca Trevisani, Julia Computing, and contributors.

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.
22 changes: 0 additions & 22 deletions LICENSE.md

This file was deleted.

20 changes: 4 additions & 16 deletions Project.toml
@@ -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"]