diff --git a/.github/workflows/libclang-linux-aarch64.yml b/.github/workflows/libclang-linux-aarch64.yml index c6199b1..026e138 100644 --- a/.github/workflows/libclang-linux-aarch64.yml +++ b/.github/workflows/libclang-linux-aarch64.yml @@ -34,8 +34,10 @@ jobs: sudo apt-get update sudo apt-get install -y \ binutils-aarch64-linux-gnu \ - g++-7-aarch64-linux-gnu \ - gcc-7-aarch64-linux-gnu \ + gcc-8 \ + g++-8 \ + gcc-8-aarch64-linux-gnu \ + g++-8-aarch64-linux-gnu - name: build host llvmtblgen/clangtblgen run: | mkdir llvm-project-$LLVM_VER/build-host @@ -49,8 +51,8 @@ jobs: -DLLVM_TARGETS_TO_BUILD=X86 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -static-libgcc -static-libstdc++" \ - -DCMAKE_C_COMPILER=gcc-7 \ - -DCMAKE_CXX_COMPILER=g++-7 + -DCMAKE_C_COMPILER=gcc-8 \ + -DCMAKE_CXX_COMPILER=g++-8 make clang-tblgen llvm-tblgen -j$(nproc) # copy the artifacts to an absolute path @@ -74,8 +76,8 @@ jobs: -DCLANG_TABLEGEN=/usr/bin/clang-tblgen \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -static-libgcc -static-libstdc++" \ - -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc-7 \ - -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++-7 + -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc-8 \ + -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++-8 - name: build run: | cd llvm-project-$LLVM_VER/build diff --git a/.github/workflows/libclang-linux-arm.yml b/.github/workflows/libclang-linux-arm.yml index 8abdff7..ea7b07a 100644 --- a/.github/workflows/libclang-linux-arm.yml +++ b/.github/workflows/libclang-linux-arm.yml @@ -34,8 +34,10 @@ jobs: sudo apt-get update sudo apt-get install -y \ binutils-arm-linux-gnueabihf \ - g++-7-arm-linux-gnueabihf \ - gcc-7-arm-linux-gnueabihf \ + gcc-8 \ + g++-8 \ + gcc-8-arm-linux-gnueabihf \ + g++-8-arm-linux-gnueabihf - name: build host llvmtblgen/clangtblgen run: | mkdir llvm-project-$LLVM_VER/build-host @@ -49,8 +51,8 @@ jobs: -DLLVM_TARGETS_TO_BUILD=X86 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -static-libgcc -static-libstdc++" \ - -DCMAKE_C_COMPILER=gcc-7 \ - -DCMAKE_CXX_COMPILER=g++-7 + -DCMAKE_C_COMPILER=gcc-8 \ + -DCMAKE_CXX_COMPILER=g++-8 make clang-tblgen llvm-tblgen -j$(nproc) # copy the artifacts to an absolute path @@ -76,8 +78,8 @@ jobs: -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -static-libgcc -static-libstdc++" \ -DCMAKE_C_FLAGS="-march=armv7" \ -DCMAKE_CXX_FLAGS="-march=armv7" \ - -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc-7 \ - -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++-7 + -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc-8 \ + -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++-8 - name: build run: | cd llvm-project-$LLVM_VER/build diff --git a/.github/workflows/libclang-macosx-amd64.yml b/.github/workflows/libclang-macosx-amd64.yml index 62b387b..ae8f7cb 100644 --- a/.github/workflows/libclang-macosx-amd64.yml +++ b/.github/workflows/libclang-macosx-amd64.yml @@ -43,8 +43,8 @@ jobs: -DLLVM_TARGETS_TO_BUILD=X86 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -static-libgcc -static-libstdc++" \ - -DCMAKE_C_COMPILER=gcc-9 \ - -DCMAKE_CXX_COMPILER=g++-9 \ + -DCMAKE_C_COMPILER=gcc-10 \ + -DCMAKE_CXX_COMPILER=g++-10 \ -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 - name: build run: cd llvm-project-$LLVM_VER/build && make libclang -j$(sysctl -n hw.ncpu) @@ -53,6 +53,7 @@ jobs: du -csh llvm-project-$LLVM_VER/build/lib/libclang.dylib file llvm-project-$LLVM_VER/build/lib/libclang.dylib otool -L llvm-project-$LLVM_VER/build/lib/libclang.dylib + dyldinfo -platform -dependents libclang.dylib || true - name: create and print sha512sum run: | cd llvm-project-$LLVM_VER/build/lib diff --git a/.github/workflows/libclang-macosx-arm64.yml b/.github/workflows/libclang-macosx-arm64.yml index 47e670a..a79ebd7 100644 --- a/.github/workflows/libclang-macosx-arm64.yml +++ b/.github/workflows/libclang-macosx-arm64.yml @@ -73,7 +73,7 @@ jobs: du -csh libclang.dylib file libclang.dylib otool -L libclang.dylib - dyld_info -platform -dependents libclang.dylib + dyldinfo -platform -dependents libclang.dylib || true - name: create and print sha512sum run: | cd llvm-project-$LLVM_VER/build/lib