mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 20:00:43 +00:00
Build & ship mlir too
This commit is contained in:
parent
27c99c7ca2
commit
4a688750e5
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -264,6 +264,12 @@ llvm-toolchain-snapshot (1:14~++20210715093511+afc760ef3527-1~exp2) unstable; ur
|
|||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 06 Aug 2021 08:40:58 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 06 Aug 2021 08:40:58 +0200
|
||||||
|
|
||||||
|
llvm-toolchain-13 (1:13.0.1~+rc1-1~exp3) experimental; urgency=medium
|
||||||
|
|
||||||
|
* Build & ship mlir too
|
||||||
|
|
||||||
|
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 30 Dec 2021 12:04:43 +0100
|
||||||
|
|
||||||
llvm-toolchain-13 (1:13.0.1~+rc1-1~exp2) experimental; urgency=medium
|
llvm-toolchain-13 (1:13.0.1~+rc1-1~exp2) experimental; urgency=medium
|
||||||
|
|
||||||
* Bring back the dependency clang => llvm-13-linker-tools
|
* Bring back the dependency clang => llvm-13-linker-tools
|
||||||
|
48
debian/control
vendored
48
debian/control
vendored
@ -754,3 +754,51 @@ Description: production-quality unwinder
|
|||||||
The low level libunwind API was designed to work either in-process (aka local)
|
The low level libunwind API was designed to work either in-process (aka local)
|
||||||
or to operate on another process (aka remote), but only the local path has
|
or to operate on another process (aka remote), but only the local path has
|
||||||
been implemented. Remote unwinding remains as future work.
|
been implemented. Remote unwinding remains as future work.
|
||||||
|
|
||||||
|
# ------------- mlir -------------
|
||||||
|
|
||||||
|
Package: mlir-13-tools
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Multi-Level Intermediate Representation tools
|
||||||
|
Novel approach to building reusable and extensible compiler infrastructure.
|
||||||
|
MLIR aims to address software fragmentation, improve compilation for
|
||||||
|
heterogeneous hardware, significantly reduce the cost of building domain
|
||||||
|
specific compilers, and aid in connecting existing compilers together.
|
||||||
|
.
|
||||||
|
This package provides tools.
|
||||||
|
|
||||||
|
Package: libmlir-13
|
||||||
|
Section: libs
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends: ${shlibs:Depends},
|
||||||
|
${misc:Depends}
|
||||||
|
Provides: libmlir-x.y
|
||||||
|
Conflicts: libmlir-x.y
|
||||||
|
Replaces: libmlir-x.y
|
||||||
|
Description: Multi-Level Intermediate Representation library
|
||||||
|
Novel approach to building reusable and extensible compiler infrastructure.
|
||||||
|
MLIR aims to address software fragmentation, improve compilation for
|
||||||
|
heterogeneous hardware, significantly reduce the cost of building domain
|
||||||
|
specific compilers, and aid in connecting existing compilers together.
|
||||||
|
|
||||||
|
|
||||||
|
Package: libmlir-13-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
${misc:Depends},
|
||||||
|
libmlir-13 (= ${binary:Version})
|
||||||
|
Breaks: libmlir-dev
|
||||||
|
Provides: libmlir-x.y-dev
|
||||||
|
Conflicts: libmlir-x.y-dev
|
||||||
|
Replaces: libmlir-dev, libmlir-x.y-dev
|
||||||
|
Description: Multi-Level Intermediate Representation library
|
||||||
|
Novel approach to building reusable and extensible compiler infrastructure.
|
||||||
|
MLIR aims to address software fragmentation, improve compilation for
|
||||||
|
heterogeneous hardware, significantly reduce the cost of building domain
|
||||||
|
specific compilers, and aid in connecting existing compilers together.
|
||||||
|
|
||||||
|
|
||||||
|
7
debian/libmlir-X.Y-dev.install.in
vendored
Normal file
7
debian/libmlir-X.Y-dev.install.in
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
usr/lib/llvm-@LLVM_VERSION@/include/mlir-c/
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/include/mlir/
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/cmake/mlir/
|
||||||
|
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR.so
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR*.a
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so
|
1
debian/libmlir-X.Y-dev.lintian-overrides.in
vendored
Normal file
1
debian/libmlir-X.Y-dev.lintian-overrides.in
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
libmlir-@LLVM_VERSION@-dev: arch-dependent-file-not-in-arch-specific-directory usr/lib/llvm-@LLVM_VERSION@/lib/*
|
2
debian/libmlir-X.Y.install.in
vendored
Normal file
2
debian/libmlir-X.Y.install.in
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/libMLIR.so.*
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/lib/libmlir*.so.*
|
1
debian/libmlir-X.Y.lintian-overrides.in
vendored
Normal file
1
debian/libmlir-X.Y.lintian-overrides.in
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
libmlir-@LLVM_VERSION@: arch-dependent-file-not-in-arch-specific-directory usr/lib/llvm-@LLVM_VERSION@/lib/*
|
2
debian/mlir-X.Y-tools.install.in
vendored
Normal file
2
debian/mlir-X.Y-tools.install.in
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
usr/bin/mlir-*
|
||||||
|
usr/lib/llvm-@LLVM_VERSION@/bin/mlir-*
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
# polly & lldb aren't enabled for every platform
|
# polly & lldb aren't enabled for every platform
|
||||||
PROJECTS = clang;clang-tools-extra;lld;cross-project-tests
|
PROJECTS = clang;clang-tools-extra;lld;cross-project-tests;mlir
|
||||||
# openmp & libunwind aren't enabled for every platform
|
# openmp & libunwind aren't enabled for every platform
|
||||||
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
||||||
|
|
||||||
@ -706,6 +706,9 @@ override_dh_auto_install:
|
|||||||
# Remove an example - introduced in https://reviews.llvm.org/D61446
|
# Remove an example - introduced in https://reviews.llvm.org/D61446
|
||||||
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libBye.a
|
rm -f $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/libBye.a
|
||||||
|
|
||||||
|
# should not be installed (mlir)
|
||||||
|
rm -rf $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/objects-Release/
|
||||||
|
|
||||||
cp $(TARGET_BUILD_STAGE2)/bin/clang-query $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin
|
cp $(TARGET_BUILD_STAGE2)/bin/clang-query $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin
|
||||||
|
|
||||||
# Only run on executable, not script
|
# Only run on executable, not script
|
||||||
|
Loading…
Reference in New Issue
Block a user