Merge remote-tracking branch 'origin/13' into snapshot

This commit is contained in:
Sylvestre Ledru 2021-08-18 14:01:31 +02:00
commit c443c73ab6
6 changed files with 10 additions and 40 deletions

12
debian/changelog vendored
View File

@ -16,15 +16,22 @@ 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~++20210731010128+6eaf46beb462-1~exp2) experimental; urgency=medium llvm-toolchain-13 (1:13.0.0~+rc1-1) unstable; urgency=medium
* Upload to Unstable
* Add symbol clang_CompileCommand_getNumMappedSources to libclang * Add symbol clang_CompileCommand_getNumMappedSources to libclang
* Add a new variable called SONAME_CLANG as * Add a new variable called SONAME_CLANG as
clang soname has started with llvm-toolchain-13. clang soname has started with llvm-toolchain-13.
it is normal that 13 is what is seen in 14 or later version as it is normal that 13 is what is seen in 14 or later version as
it is bumped only with abi changes it is bumped only with abi changes
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 16 Aug 2021 15:48:27 +0200 -- Sylvestre Ledru <sylvestre@debian.org> Mon, 16 Aug 2021 16:00:12 +0200
llvm-toolchain-13 (1:13.0.0~+rc1-1~exp1) unstable; urgency=medium
* New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 03 Aug 2021 09:36:26 +0200
llvm-toolchain-13 (1:13~++20210731010128+6eaf46beb462-1~exp1) experimental; urgency=medium llvm-toolchain-13 (1:13~++20210731010128+6eaf46beb462-1~exp1) experimental; urgency=medium
@ -116,7 +123,6 @@ llvm-toolchain-12 (1:12.0.1-5) unstable; urgency=medium
llvm-toolchain-12 (1:12.0.1-4) unstable; urgency=medium llvm-toolchain-12 (1:12.0.1-4) unstable; urgency=medium
[ Sylvestre Ledru ]
* Make libunwind-dev depends on libunwind * Make libunwind-dev depends on libunwind
* Don't build libunwind on hurd, armel, powerpc & mipsel * Don't build libunwind on hurd, armel, powerpc & mipsel
* Remove old svn reference in the usage dh_strip & dh_makeshlibs * Remove old svn reference in the usage dh_strip & dh_makeshlibs

3
debian/control vendored
View File

@ -19,8 +19,7 @@ Build-Depends: debhelper (>= 9.0), cmake, chrpath, texinfo, sharutils,
ocaml-findlib [amd64 arm64 armhf ppc64el s390x], ocaml-findlib [amd64 arm64 armhf ppc64el s390x],
libctypes-ocaml-dev [amd64 arm64 armhf ppc64el s390x], libctypes-ocaml-dev [amd64 arm64 armhf ppc64el s390x],
dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el s390x], dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el s390x],
libpfm4-dev [linux-any], python3-setuptools, libz3-dev, libpfm4-dev [linux-any], python3-setuptools, libz3-dev
llvm-spirv, spirv-tools
Build-Conflicts: oprofile, ocaml Build-Conflicts: oprofile, ocaml
Standards-Version: 4.2.1 Standards-Version: 4.2.1
Homepage: https://www.llvm.org/ Homepage: https://www.llvm.org/

View File

@ -1,2 +1 @@
usr/lib/clc/*.bc usr/lib/clc/*.bc
usr/lib/clc/*.spv

View File

@ -1,13 +0,0 @@
diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt
index b8b5ceff086c..5964468358f2 100644
--- a/libclc/CMakeLists.txt
+++ b/libclc/CMakeLists.txt
@@ -95,7 +95,7 @@ find_program( LLVM_CLANG clang PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
find_program( LLVM_AS llvm-as PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
find_program( LLVM_LINK llvm-link PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
find_program( LLVM_OPT opt PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
-find_program( LLVM_SPIRV llvm-spirv PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
+find_program( LLVM_SPIRV llvm-spirv PATHS ${LLVM_BINDIR})
# Print toolchain
message( "clang: ${LLVM_CLANG}" )

View File

@ -142,4 +142,3 @@ lld-use-link-atomic-i386.diff
lower-python-dep.diff lower-python-dep.diff
scan-build-py-fix-analyze-path.diff scan-build-py-fix-analyze-path.diff
scan-build-py-fix-default-bin.diff scan-build-py-fix-default-bin.diff
libclc-llvm-spirv.diff

20
debian/rules vendored
View File

@ -35,7 +35,6 @@ endif
VENDOR=$(shell lsb_release -is) VENDOR=$(shell lsb_release -is)
DISTRO=$(shell lsb_release -sc) DISTRO=$(shell lsb_release -sc)
DISTRO_RELEASE=$(shell lsb_release -sr)
DH_VERSION := $(shell dpkg -s debhelper | grep '^Version' | awk '{print $$2}') DH_VERSION := $(shell dpkg -s debhelper | grep '^Version' | awk '{print $$2}')
@ -141,25 +140,6 @@ else
control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev' control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev'
endif endif
ENABLE_SPRIV = yes
# Disable spirv on Debian older than bullseye (11)
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
ifeq ($(shell dpkg --compare-versions $(DISTRO_RELEASE) lt 11 ; echo $$?),0)
ENABLE_SPRIV = no
endif
endif
# Disable spirv on Ubuntu older than focal (20.04)
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
ifeq ($(shell dpkg --compare-versions $(DISTRO_RELEASE) lt 20 ; echo $$?),0)
ENABLE_SPRIV = no
endif
endif
LIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
ifeq ($(ENABLE_SPRIV),yes)
LIBCLC_TARGETS_TO_BUILD := $(LIBCLC_TARGETS_TO_BUILD)";spirv-mesa3d-;spirv64-mesa3d-"
endif
# Disabled: # Disabled:
# Host compiler does not support '-fuse-ld=lld' # Host compiler does not support '-fuse-ld=lld'
# USE_LLD_ARCHS := amd64 # USE_LLD_ARCHS := amd64