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

Support depending on arbitrary versions of LLVM #800

Open
4 of 5 tasks
igaray opened this issue Sep 18, 2024 · 1 comment
Open
4 of 5 tasks

Support depending on arbitrary versions of LLVM #800

igaray opened this issue Sep 18, 2024 · 1 comment
Labels
enhancement New feature or request process Tasks related to the develop process, CI, testing, etc

Comments

@igaray
Copy link
Collaborator

igaray commented Sep 18, 2024

Our current dependency chain looks more or less like:

stateDiagram-v2
    direction LR
    state native
    state melior
    state "mlir-sys" as mlirsys
    state "llvm-sys" as llvmsys
    state tblgen
    state "OS package manager" as package
    state LLVM
    native --> melior
    melior --> mlirsys
    melior --> llvmsys
    melior --> tblgen
    mlirsys --> package
    llvmsys --> package
    tblgen --> package
    package --> LLVM
Loading

When we require changes or fixes in LLVM we are currently forced to wait until the entire dep chain is updated. We should have a way for (at least) our CI to be able to use any version of LLVM specified by a git SHA.

We need to 1) outline a plan of steps necessary for this:

  • have a fork of mlir-sys under lambdaclass org
  • have a fork of llvm-sys under lambdaclass org
  • have a fork of tblgen under lambdaclass org
  • have a fork of melior under lambdaclass org
  • script + dockerfile to build and package LLVM and upload the result as an artifact. This script and dockerfile could also be used by clients to build their deps if necessary
@edg-l edg-l added enhancement New feature or request process Tasks related to the develop process, CI, testing, etc labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request process Tasks related to the develop process, CI, testing, etc
Projects
None yet
Development

No branches or pull requests

2 participants