-
Notifications
You must be signed in to change notification settings - Fork 99
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
Build a Julia compatible plugin library #1
Conversation
Right now this for sure works on LLVM 7 (as that's the base, let me remove that particular header and we can iterate to find what is needed for 6 and/or 8 compatibility). |
e75c254
to
e414d02
Compare
Needs an update to LLVM.jl and of course it beautifully segfaults :) (also should we move this code to Enzyme.jl? So that we can run travis?) |
Yeah, I'd guess as much (there were some minor linking things when actually running on LLVM 6 -- currently working through those on /plugin branch [see https://github.com/wsmoses/Enzyme/runs/215845236 ]. Also I got github actions set up here for testing which is useful for ensuring Enzyme will be compatible against a range of LLVM. Also yes, this likely makes sense to move to Enzyme.jl |
Ok moved everything to Enzyme.jl
|
Reduce CI to the minimally needed subset.
* port to llvm-16 (not backward-compatible with older llvms), WIP * wip, but probably not correct on may places * rule out old PM on llvm 16 and above * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16
* port to llvm-16 (not backward-compatible with older llvms), WIP * wip, but probably not correct on may places * rule out old PM on llvm 16 and above * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16
* port to llvm-16 (not backward-compatible with older llvms), WIP * wip, but probably not correct on may places * rule out old PM on llvm 16 and above * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16
* compiles with llvm-16 (old PM is gone so I could not run opt) (#1) * port to llvm-16 (not backward-compatible with older llvms), WIP * wip, but probably not correct on may places * rule out old PM on llvm 16 and above * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16, WIP * #if LLVM_VERSION_MAJOR >= 16 * Llvm 16 (#2) * fix for argmemonly * disabling old pm tests where new pm tests exist (#3) * Disable old pm tests fix (#4) * disabling old pm tests where new pm tests exist: fix typo * fix build with llvm-16 (#5) * fix build with llvm < 16 (#6) * Attribute::Memory fixes (#7) but still getting zeros instead of derivatives * curly brace out of macro (#8) * fix typo (#9) * fix for llvm-16 (#10) * fix typo * fix * Llvm 16 gha (#11) * enable build with llvm 16 * enable llvm-16 once this gets to main (on both linux and mac os) * docker run -it --rm --workdir /Enzyme -v /home/stp/go/src/github.com/stepasite/Enzyme/enzyme/Enzyme:/Enzyme clang-format-lint --clang-format-executable /clang-format/clang-format11 -r --exclude ./Enzyme/SCEV --style llvm --inplace true ./Enzyme * forward mode vector: new pm tests, wip * llvm-16: fixing tests, wip (#12) * llvm-16 tests, WIP * resolving latest test/ll commits (#13) * Llvm 16 tests (#14) * llvm-16 tests, WIP * fix bug introduced in (FunctionUtils.cpp) * llvm 16 tests, wip * llvm tests, WIP (#15) * continued test fixes * fixup * fix build * fix * cleanup * fixes * fix * fix attr * fix format * fixup * fix attrs * fix * fix * fix * fix sret * fix * add type analysis * activity analysis * fix ta * fix * fix * fixes * more tests * more fixes * 297 * more tests * fix * fix * fix * fix * fix --------- Co-authored-by: Pavel Stepanek <stepasite@gmail.com>
@wsmoses I didn't manage to build against LLVM 6.0, would 8.0 work?