diff --git a/.github/workflows/platform_natives.yaml b/.github/workflows/platform_natives.yaml index 2a8c80d..a0ddef0 100644 --- a/.github/workflows/platform_natives.yaml +++ b/.github/workflows/platform_natives.yaml @@ -129,7 +129,7 @@ jobs: if: matrix.os == 'ubuntu-22.04' uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-14 lld-14 libc++-14-dev libc++abi-14-dev libgcc-11-dev libunwind-14-dev libclang-common-14-dev ccache maven + packages: make git zlib1g-dev libssl-dev gperf php-cli cmake default-jdk clang-15 lld-15 libc++-15-dev libc++abi-15-dev libgcc-11-dev libunwind-15-dev libclang-common-15-dev ccache maven version: 1.0 - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 diff --git a/.github/workflows/scripts/build_linux_386_ssl3.sh b/.github/workflows/scripts/build_linux_386_ssl3.sh index 4564fb0..d909a65 100755 --- a/.github/workflows/scripts/build_linux_386_ssl3.sh +++ b/.github/workflows/scripts/build_linux_386_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_amd64_ssl3.sh b/.github/workflows/scripts/build_linux_amd64_ssl3.sh index f5c1a20..53b5bce 100755 --- a/.github/workflows/scripts/build_linux_amd64_ssl3.sh +++ b/.github/workflows/scripts/build_linux_amd64_ssl3.sh @@ -7,8 +7,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_arm64_ssl3.sh b/.github/workflows/scripts/build_linux_arm64_ssl3.sh index 06f4d96..6dfdefa 100755 --- a/.github/workflows/scripts/build_linux_arm64_ssl3.sh +++ b/.github/workflows/scripts/build_linux_arm64_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_armhf_ssl3.sh b/.github/workflows/scripts/build_linux_armhf_ssl3.sh index fd1b639..d44af3a 100755 --- a/.github/workflows/scripts/build_linux_armhf_ssl3.sh +++ b/.github/workflows/scripts/build_linux_armhf_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_ppc64le_ssl3.sh b/.github/workflows/scripts/build_linux_ppc64le_ssl3.sh index 9ad7975..219eacb 100755 --- a/.github/workflows/scripts/build_linux_ppc64le_ssl3.sh +++ b/.github/workflows/scripts/build_linux_ppc64le_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_riscv64_ssl3.sh b/.github/workflows/scripts/build_linux_riscv64_ssl3.sh index 6ed352d..a8ac9f6 100755 --- a/.github/workflows/scripts/build_linux_riscv64_ssl3.sh +++ b/.github/workflows/scripts/build_linux_riscv64_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/build_linux_s390x_ssl3.sh b/.github/workflows/scripts/build_linux_s390x_ssl3.sh index 4f0dda8..9d18878 100755 --- a/.github/workflows/scripts/build_linux_s390x_ssl3.sh +++ b/.github/workflows/scripts/build_linux_s390x_ssl3.sh @@ -8,8 +8,8 @@ rm -rf implementations/tdlight/td_tools_build implementations/tdlight/build api/ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin implementations/tdlight/td_tools_build/java/it/tdlight/jni api/src/main/java-legacy/it/tdlight/jni api/src/main/java-sealed/it/tdlight/jni natives/src/main/java/it/tdlight/jni natives/build natives/tdjni_bin natives/tdjni_docs # machine-specific flags -HOST_CMAKE_C_COMPILER="/usr/bin/clang-14" -HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14" +HOST_CMAKE_C_COMPILER="/usr/bin/clang-15" +HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-15" HOST_CMAKE_C_FLAGS="-fuse-ld=lld" HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++" HOST_CMAKE_EXE_LINKER_FLAGS="-lc++ -lc++abi -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" diff --git a/.github/workflows/scripts/install_deps_linux_386_ssl3.sh b/.github/workflows/scripts/install_deps_linux_386_ssl3.sh index 44a6e36..a5c534a 100755 --- a/.github/workflows/scripts/install_deps_linux_386_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_386_ssl3.sh @@ -9,17 +9,17 @@ sed 's/deb http/deb \[arch=amd64,i386\] http/' -i /etc/apt/sources.list apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:i386 libc++abi-14-dev:i386 libc++1-14:i386 libc++abi1-14:i386 libunwind-14-dev:i386 libunwind-14:i386 +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:i386 libc++abi-15-dev:i386 libc++1-15:i386 libc++abi1-15:i386 libunwind-15-dev:i386 libunwind-15:i386 cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add i386 common files -apt-get download libclang-common-14-dev:i386 -dpkg-deb -xv libclang-common-14-dev_*_i386.deb / +apt-get download libclang-common-15-dev:i386 +dpkg-deb -xv libclang-common-15-dev_*_i386.deb / # Install dependencies diff --git a/.github/workflows/scripts/install_deps_linux_arm64_ssl3.sh b/.github/workflows/scripts/install_deps_linux_arm64_ssl3.sh index 4952d0a..e1d128d 100755 --- a/.github/workflows/scripts/install_deps_linux_arm64_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_arm64_ssl3.sh @@ -13,17 +13,17 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:arm64 libc++abi-14-dev:arm64 libc++1-14:arm64 libc++abi1-14:arm64 libunwind-14-dev:arm64 libunwind-14:arm64 +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:arm64 libc++abi-15-dev:arm64 libc++1-15:arm64 libc++abi1-15:arm64 libunwind-15-dev:arm64 libunwind-15:arm64 cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add arm64 common files -apt-get download libclang-common-14-dev:arm64 -dpkg-deb -xv libclang-common-14-dev_*_arm64.deb / +apt-get download libclang-common-15-dev:arm64 +dpkg-deb -xv libclang-common-15-dev_*_arm64.deb / # Install dependencies diff --git a/.github/workflows/scripts/install_deps_linux_armhf_ssl3.sh b/.github/workflows/scripts/install_deps_linux_armhf_ssl3.sh index 8abc21b..f5eb3b9 100755 --- a/.github/workflows/scripts/install_deps_linux_armhf_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_armhf_ssl3.sh @@ -13,17 +13,17 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:armhf libc++abi-14-dev:armhf libc++1-14:armhf libc++abi1-14:armhf libunwind-14-dev:armhf libunwind-14:armhf +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:armhf libc++abi-15-dev:armhf libc++1-15:armhf libc++abi1-15:armhf libunwind-15-dev:armhf libunwind-15:armhf cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add armhf common files -apt-get download libclang-common-14-dev:armhf -dpkg-deb -xv libclang-common-14-dev_*_armhf.deb / +apt-get download libclang-common-15-dev:armhf +dpkg-deb -xv libclang-common-15-dev_*_armhf.deb / # Install dependencies diff --git a/.github/workflows/scripts/install_deps_linux_ppc64le_ssl3.sh b/.github/workflows/scripts/install_deps_linux_ppc64le_ssl3.sh index cbee242..701a34b 100755 --- a/.github/workflows/scripts/install_deps_linux_ppc64le_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_ppc64le_ssl3.sh @@ -13,17 +13,17 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:ppc64el libc++abi-14-dev:ppc64el libc++1-14:ppc64el libc++abi1-14:ppc64el libunwind-14-dev:ppc64el libunwind-14:ppc64el +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:ppc64el libc++abi-15-dev:ppc64el libc++1-15:ppc64el libc++abi1-15:ppc64el libunwind-15-dev:ppc64el libunwind-15:ppc64el cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add ppc64le common files -apt-get download libclang-common-14-dev:ppc64el -dpkg-deb -xv libclang-common-14-dev_*_ppc64el.deb / +apt-get download libclang-common-15-dev:ppc64el +dpkg-deb -xv libclang-common-15-dev_*_ppc64el.deb / # Install dependencies diff --git a/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh b/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh index a0fba3b..2640ec6 100755 --- a/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh @@ -13,17 +13,17 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:riscv64 libc++abi-14-dev:riscv64 libc++1-14:riscv64 libc++abi1-14:riscv64 libunwind-14-dev:riscv64 libunwind-14:riscv64 +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:riscv64 libc++abi-15-dev:riscv64 libc++1-15:riscv64 libc++abi1-15:riscv64 libunwind-15-dev:riscv64 libunwind-15:riscv64 cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add riscv64 common files -apt-get download libclang-common-14-dev:riscv64 -dpkg-deb -xv libclang-common-14-dev_*_riscv64.deb / +apt-get download libclang-common-15-dev:riscv64 +dpkg-deb -xv libclang-common-15-dev_*_riscv64.deb / # Install dependencies diff --git a/.github/workflows/scripts/install_deps_linux_s390x_ssl3.sh b/.github/workflows/scripts/install_deps_linux_s390x_ssl3.sh index c5058ed..8c83d94 100755 --- a/.github/workflows/scripts/install_deps_linux_s390x_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_s390x_ssl3.sh @@ -13,17 +13,17 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls apt-get --assume-yes update # Install and bypass a bug in the cross-platform libc++ packages -apt-get --assume-yes autoremove "libc++-14-dev:*" "libc++abi-14-dev:*" "libc++1-14:*" "libc++abi1-14:*" "libunwind-14-dev:*" "libunwind-14:*" || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-14-dev:s390x libc++abi-14-dev:s390x libc++1-14:s390x libc++abi1-14:s390x libunwind-14-dev:s390x libunwind-14:s390x +apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libc++-15-dev:s390x libc++abi-15-dev:s390x libc++1-15:s390x libc++abi1-15:s390x libunwind-15-dev:s390x libunwind-15:s390x cp --remove-destination \ - /usr/lib/llvm-14/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ + /usr/lib/llvm-15/lib/{libc++abi.so,libc++abi.so.1.0,libc++.so,libc++.so.1.0,libunwind.so.1.0} \ /usr/lib/aarch64-linux-gnu/ || true -apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-14 libc++-14-dev libc++abi-14-dev libc++1-14 libc++abi1-14 libunwind-14-dev libunwind-14 +apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install clang-15 libc++-15-dev libc++abi-15-dev libc++1-15 libc++abi1-15 libunwind-15-dev libunwind-15 # End libc++ packages bugfix # Add s390x common files -apt-get download libclang-common-14-dev:s390x -dpkg-deb -xv libclang-common-14-dev_*_s390x.deb / +apt-get download libclang-common-15-dev:s390x +dpkg-deb -xv libclang-common-15-dev_*_s390x.deb / # Install dependencies diff --git a/.github/workflows/tdapi_file.yaml b/.github/workflows/tdapi_file.yaml index fe4b0e0..d0ac051 100644 --- a/.github/workflows/tdapi_file.yaml +++ b/.github/workflows/tdapi_file.yaml @@ -18,7 +18,7 @@ jobs: if: matrix.os == 'ubuntu-22.04' uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: sudo make git zlib1g-dev libssl-dev gperf php-cli cmake openjdk-17-jdk clang-14 libc++-14-dev libc++abi-14-dev libgcc-11-dev libunwind-14-dev libclang-common-14-dev ccache maven + packages: sudo make git zlib1g-dev libssl-dev gperf php-cli cmake openjdk-17-jdk clang-15 libc++-15-dev libc++abi-15-dev libgcc-11-dev libunwind-15-dev libclang-common-15-dev ccache maven version: 1.0 - name: Install SSH key uses: shimataro/ssh-key-action@v2 diff --git a/.github/workflows/toolchains/toolchain_arm64.cmake b/.github/workflows/toolchains/toolchain_arm64.cmake index 8f3c58d..2f5feaf 100644 --- a/.github/workflows/toolchains/toolchain_arm64.cmake +++ b/.github/workflows/toolchains/toolchain_arm64.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++) diff --git a/.github/workflows/toolchains/toolchain_armhf.cmake b/.github/workflows/toolchains/toolchain_armhf.cmake index 4eee563..aa30ccd 100644 --- a/.github/workflows/toolchains/toolchain_armhf.cmake +++ b/.github/workflows/toolchains/toolchain_armhf.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++) diff --git a/.github/workflows/toolchains/toolchain_i386.cmake b/.github/workflows/toolchains/toolchain_i386.cmake index 21cd6e5..4808e2a 100644 --- a/.github/workflows/toolchains/toolchain_i386.cmake +++ b/.github/workflows/toolchains/toolchain_i386.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++) diff --git a/.github/workflows/toolchains/toolchain_ppc64le.cmake b/.github/workflows/toolchains/toolchain_ppc64le.cmake index 7a19d42..6bbd037 100644 --- a/.github/workflows/toolchains/toolchain_ppc64le.cmake +++ b/.github/workflows/toolchains/toolchain_ppc64le.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++) diff --git a/.github/workflows/toolchains/toolchain_riscv64.cmake b/.github/workflows/toolchains/toolchain_riscv64.cmake index 66630ec..8aba82f 100644 --- a/.github/workflows/toolchains/toolchain_riscv64.cmake +++ b/.github/workflows/toolchains/toolchain_riscv64.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++) diff --git a/.github/workflows/toolchains/toolchain_s390x.cmake b/.github/workflows/toolchains/toolchain_s390x.cmake index 64a4861..2b315b8 100644 --- a/.github/workflows/toolchains/toolchain_s390x.cmake +++ b/.github/workflows/toolchains/toolchain_s390x.cmake @@ -8,11 +8,11 @@ if(EXISTS "/usr/bin/clang-10") set(CMAKE_CXX_COMPILER /usr/bin/clang++-10) set(CMAKE_ASM_COMPILER /usr/bin/clang-10) set(CMAKE_AR "/usr/bin/llvm-ar-10" CACHE FILEPATH "" FORCE) -elseif(EXISTS "/usr/bin/clang-14") - set(CMAKE_C_COMPILER /usr/bin/clang-14) - set(CMAKE_CXX_COMPILER /usr/bin/clang++-14) - set(CMAKE_ASM_COMPILER /usr/bin/clang-14) - set(CMAKE_AR "/usr/bin/llvm-ar-14" CACHE FILEPATH "" FORCE) +elseif(EXISTS "/usr/bin/clang-15") + set(CMAKE_C_COMPILER /usr/bin/clang-15) + set(CMAKE_CXX_COMPILER /usr/bin/clang++-15) + set(CMAKE_ASM_COMPILER /usr/bin/clang-15) + set(CMAKE_AR "/usr/bin/llvm-ar-15" CACHE FILEPATH "" FORCE) else() set(CMAKE_C_COMPILER /usr/bin/clang) set(CMAKE_CXX_COMPILER /usr/bin/clang++)