compiler-explorer / compiler-explorer/infra

mlir installs as a library _and_ a compiler

Open
#1,023 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

but the tarball it unpacks is identical:

```
Jun/02 12:49 admin-node~/infra (main|✔) $ ls /opt/compiler-explorer/libs/mlir/14.0.0/bin
bugpoint llvm-bitcode-strip llvm-cxxfilt llvm-exegesis llvm-link llvm-mt llvm-profgen llvm-size llvm-tli-checker mlir-pdll verify-uselistorder
dsymutil llvm-c-test llvm-cxxmap llvm-extract llvm-lipo llvm-nm llvm-ranlib llvm-split llvm-undname mlir-reduce
llc llvm-cat llvm-debuginfod-find llvm-gsymutil llvm-lto llvm-objcopy llvm-rc llvm-stress llvm-windres mlir-tblgen
lli llvm-cfi-verify llvm-diff llvm-ifs llvm-lto2 llvm-objdump llvm-readelf llvm-strings llvm-xray mlir-translate
llvm-addr2line llvm-config llvm-dis llvm-install-name-tool llvm-mc llvm-opt-report llvm-readobj llvm-strip mlir-cpu-runner opt
llvm-ar llvm-cov llvm-dlltool llvm-jitlink llvm-mca llvm-otool llvm-reduce llvm-symbolizer mlir-linalg-ods-yaml-gen sancov
llvm-as llvm-cvtres llvm-dwarfdump llvm-lib llvm-ml llvm-pdbutil llvm-rtdyld llvm-tapi-diff mlir-lsp-server sanstats
llvm-bcanalyzer llvm-cxxdump llvm-dwp llvm-libtool-darwin llvm-modextract llvm-profdata llvm-sim llvm-tblgen mlir-opt split-file
Jun/02 12:50 admin-node~/infra (main|✔) $ ls /opt/compiler-explorer/mlir-14.0.0/bin
bugpoint llvm-bitcode-strip llvm-cxxfilt llvm-exegesis llvm-link llvm-mt llvm-profgen llvm-size llvm-tli-checker mlir-pdll verify-uselistorder
dsymutil llvm-c-test llvm-cxxmap llvm-extract llvm-lipo llvm-nm llvm-ranlib llvm-split llvm-undname mlir-reduce
llc llvm-cat llvm-debuginfod-find llvm-gsymutil llvm-lto llvm-objcopy llvm-rc llvm-stress llvm-windres mlir-tblgen
lli llvm-cfi-verify llvm-diff llvm-ifs llvm-lto2 llvm-objdump llvm-readelf llvm-strings llvm-xray mlir-translate
llvm-addr2line llvm-config llvm-dis llvm-install-name-tool llvm-mc llvm-opt-report llvm-readobj llvm-strip mlir-cpu-runner opt
llvm-ar llvm-cov llvm-dlltool llvm-jitlink llvm-mca llvm-otool llvm-reduce llvm-symbolizer mlir-linalg-ods-yaml-gen sancov
llvm-as llvm-cvtres llvm-dwarfdump llvm-lib llvm-ml llvm-pdbutil llvm-rtdyld llvm-tapi-diff mlir-lsp-server sanstats
llvm-bcanalyzer llvm-cxxdump llvm-dwp llvm-libtool-darwin llvm-modextract llvm-profdata llvm-sim llvm-tblgen mlir-opt split-file
```

Either it's a copy/paste from llvm/clang, or we need to tell the library installer to pick a different tarball for the library, or else we can "just" point mlir-the-library at mlir-the-compiler ?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the two listed MLIR installation paths and then trace the installer configuration that selects their tarballs. Determine whether the library and compiler packages are intended to differ or can share one installation; done means the duplicate packaging is removed or its intended behavior is explicitly established.

Written by the indexing model from the issue text.

Assessment

Domain
compilers, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.