@@ -93,28 +93,28 @@ jobs:
9393 run : cd $GITHUB_WORKSPACE/gollvm_build_process && git clone https://github.com/llvm/llvm-project.git && cd llvm-project/llvm/tools && git clone https://go.googlesource.com/gollvm && cd gollvm && git clone https://go.googlesource.com/gofrontend && cd libgo && git clone https://github.com/libffi/libffi.git && git clone https://github.com/ianlancetaylor/libbacktrace.git
9494 - name : Compiling & linking gollvm
9595 run : cd $GITHUB_WORKSPACE/gollvm_build_process && mkdir build_release && cd build_release && cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_C_COMPILER=clang-11 -DCMAKE_CXX_COMPILER=clang++-11 -G Ninja ../llvm-project/llvm && ninja -j16 gollvm && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests
96- clang12_build_minsizerel : # The build with a minimal footprint?
96+ clang13_build_minsizerel : # The build with a minimal footprint?
9797 runs-on : ubuntu-20.04
9898 steps :
9999 - uses : actions/checkout@v2
100- - name : Install Clang 12 , using dpkg
100+ - name : Install Clang 13 , using dpkg
101101 run : wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 12
102- - name : Check if Clang 11 is on board
103- run : which clang-12
102+ - name : Check if Clang 13 is on board
103+ run : which clang-13
104104 - name : Check our path
105105 run : pwd
106106 - name : Extracting llc's host target
107- run : llc-12 --version | grep CPU
107+ run : llc-13 --version | grep CPU
108108 - name : Compile test tool, for retrieveing CPU features
109- run : clang-11 -I/usr/lib/llvm-12 /include/ -I/usr/lib/llvm-12 /include/llvm-c -L/usr/lib/llvm-12 /lib -lLLVM-12 -lstdc++ $GITHUB_WORKSPACE/gollvm_build_process/llvm_cpu_features_investigation.cpp
109+ run : clang-13 -I/usr/lib/llvm-13 /include/ -I/usr/lib/llvm-13 /include/llvm-c -L/usr/lib/llvm-13 /lib -lLLVM-13 -lstdc++ $GITHUB_WORKSPACE/gollvm_build_process/llvm_cpu_features_investigation.cpp
110110 - name : Run the CPU feature extractor
111111 run : ./a.out
112112 - name : Trying to check if we could install Ninja
113113 run : sudo apt install ninja-build -y
114114 - name : Checking the version of make, automake, autoconf, m4 and Ninja
115115 run : make --version && m4 --version && autoconf --version && automake --version && echo "Ninja's version is" && ninja --version
116116 - name : Clonning LLVM master branch && gollvm related repos.
117- run : cd $GITHUB_WORKSPACE/gollvm_build_process && git clone https://github.com/llvm/llvm-project.git && cd llvm-project/llvm/tools && git clone https://go.googlesource.com/gollvm && cd gollvm && git clone https://go.googlesource.com/gofrontend && cd libgo && git clone https://github.com/libffi/libffi.git && git clone https://github.com/ianlancetaylor/libbacktrace.git
117+ run : cd $GITHUB_WORKSPACE/gollvm_build_process && git clone https://github.com/llvm/llvm-project/tree/release/13.x && cd llvm-project/llvm/tools && git clone https://go.googlesource.com/gollvm && cd gollvm && git clone https://go.googlesource.com/gofrontend && cd libgo && git clone https://github.com/libffi/libffi.git && git clone https://github.com/ianlancetaylor/libbacktrace.git
118118 - name : Compiling & linking gollvm
119119 run : cd $GITHUB_WORKSPACE/gollvm_build_process && mkdir build_min && cd build_min && cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_C_COMPILER=clang-12 -DCMAKE_CXX_COMPILER=clang++-12 -G Ninja ../llvm-project/llvm && ninja -j16 gollvm && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests
120120
0 commit comments