diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml index 7a4f336..647e9cc 100644 --- a/.github/workflows/llvm.yml +++ b/.github/workflows/llvm.yml @@ -26,4 +26,4 @@ jobs: - name: Clonning LLVM master branch && gollvm related repos. run: cd $GITHUB_WORKSPACE/clang_test_cpu_features && 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 - name: Compiling & linking gollvm - run: cd $GITHUB_WORKSPACE/clang_test_cpu_features && mkdir build_release && cd build_release && cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -G Ninja ../llvm-project/llvm && cat build.ninja && ninja -j16 -v gollvm && ./bin/llvm-godumpspec --help && ./bin/llvm-godumpspec --help-hidden && ./bin/llvm-godumpspec --help-list && ./bin/llvm-godumpspec --help-list-hidden && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests && sudo ninja install-gollvm + run: cd $GITHUB_WORKSPACE/clang_test_cpu_features && mkdir build_release && cd build_release && cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=X86 -G Ninja ../llvm-project/llvm && cat build.ninja && ninja -j16 -v gollvm && build_release/tools/gollvm/libgo && ./bin/llvm-godumpspec --trace --macrotmp=./tools/gollvm/libgo/sysinfo.macros.txt --object=./tools/gollvm/libgo/sysinfo.o --output=./tools/gollvm/libgo/gen-sysinfo.go.tmp && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests && sudo ninja install-gollvm