Skip to content

Conversation

@vtjnash
Copy link
Member

@vtjnash vtjnash commented Oct 13, 2020

Mostly pretty mechanical. Some old hacks went away. Result seems to work, so is presumably good?

@vtjnash vtjnash requested a review from vchuravy October 13, 2020 14:33
@vchuravy
Copy link
Member

@vtjnash
Copy link
Member Author

vtjnash commented Nov 17, 2020

remaining tasks are:

  • switch back to eager finalization (our cgmemmgr doesn't support interleaving of finalization), to address macos64 build failure
  • figure out symbol conflict from exporting function aliases
  • figure out why win32 and win64 aren't respecting the -elf triple

@vchuravy
Copy link
Member

figure out why win32 and win64 aren't respecting the -elf triple

In LLVM.jl I had to normalize the triple before passing it to target https://github.com/maleadt/LLVM.jl/blob/b0780fa710219b1ca2e0a418d5dc82fa6dfafe71/src/orc.jl#L130-L134

@vtjnash
Copy link
Member Author

vtjnash commented Nov 17, 2020

I suppose, but we don't usually like the default triple, and the process triple that we use appears to already call normalize: https://llvm.org/doxygen/Host_8cpp_source.html#l01545

@vtjnash vtjnash force-pushed the jn/orcv2 branch 2 times, most recently from 699482d to 94bd2b8 Compare November 28, 2020 17:23
@vtjnash vtjnash marked this pull request as ready for review November 28, 2020 20:29
Copy link
Member

@vchuravy vchuravy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Tried this on PPC as well.

Let's squash and GTM?

vtjnash and others added 5 commits December 7, 2020 22:28
Ensures that this usage is proper even if using an LLVM assertions
build, but not using FORCE_ASSERTIONS=1 in Julia
This should not be a user-visible change, but should prepare us for
being able to use new APIs (the legacy ones are deleted now on LLVM
master / v12).
DRY some variables, and pass others along better
@vchuravy vchuravy merged commit 30d309a into master Dec 8, 2020
@vchuravy vchuravy deleted the jn/orcv2 branch December 8, 2020 05:13
@maleadt maleadt mentioned this pull request Dec 8, 2020
Keno pushed a commit that referenced this pull request Dec 9, 2020
* Revert "Let Orc handle JITEventListerners"

This reverts commit ef84df1.

* Revert "ExecutionSession no longer takes VModuleKey"

This reverts commit b8c5da1.

* Revert "LLVM: switch to Orc v2 API"

This reverts commit 2d178e4.
vtjnash added a commit that referenced this pull request Dec 9, 2020
vtjnash added a commit that referenced this pull request Dec 10, 2020
vtjnash added a commit that referenced this pull request Dec 12, 2020
vtjnash added a commit that referenced this pull request Dec 17, 2020
Refs #38008 & #38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)
vtjnash added a commit that referenced this pull request Dec 17, 2020
Refs #38008 & #38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)
KristofferC pushed a commit that referenced this pull request Dec 19, 2020
Refs #38008 & #38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)

(cherry picked from commit fad55ab)
staticfloat pushed a commit that referenced this pull request Jan 15, 2021
Refs #38008 & #38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)

(cherry picked from commit fad55ab)
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
* Revert "Let Orc handle JITEventListerners"

This reverts commit ef84df1.

* Revert "ExecutionSession no longer takes VModuleKey"

This reverts commit b8c5da1.

* Revert "LLVM: switch to Orc v2 API"

This reverts commit 2d178e4.
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
Refs JuliaLang#38008 & JuliaLang#38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Refs #38008 & #38785

(This reverts commit 599d329, and fixes
a load ordering issue with our JuliaOJIT::addModule)

(cherry picked from commit fad55ab)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants