Skip to content

Commit 853165f

Browse files
author
gghjgj
authored
Merge pull request #47 from advancedwebdeveloper/advancedwebdeveloper-patch-47
Update build-and-install.yaml
2 parents 397648b + 6c70d7e commit 853165f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-and-install.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ jobs:
8080
- name: Check our path
8181
run: pwd
8282
- name: Extracting llc's host target
83-
run: llc-11 --version | grep CPU
83+
run: llc-13 --version | grep CPU
8484
- name: Compile test tool, for retrieveing CPU features
85-
run: clang-11 -I/usr/lib/llvm-11/include/ -I/usr/lib/llvm-11/include/llvm-c -L/usr/lib/llvm-11/lib -lLLVM-11 -lstdc++ $GITHUB_WORKSPACE/gollvm_build_process/llvm_cpu_features_investigation.cpp
85+
run: clang-13 -I/usr/lib/llvm-11/include/ -I/usr/lib/llvm-11/include/llvm-c -L/usr/lib/llvm-11/lib -lLLVM-11 -lstdc++ $GITHUB_WORKSPACE/gollvm_build_process/llvm_cpu_features_investigation.cpp
8686
- name: Run the CPU feature extractor
8787
run: ./a.out
8888
- name: Trying to check if we could install Ninja
@@ -92,7 +92,7 @@ jobs:
9292
- name: Clonning LLVM master branch && gollvm related repos.
9393
run: cd $GITHUB_WORKSPACE/gollvm_build_process && git clone -b llvm-for-gollvm https://github.com/plctlab/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
95-
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
95+
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-13 -DCMAKE_CXX_COMPILER=clang++-13 -G Ninja ../llvm-project/llvm && ninja -j16 gollvm && ninja GoBackendCoreTests && ./tools/gollvm/unittests/BackendCore/GoBackendCoreTests
9696
clang12_build_minsizerel: #The build with a minimal footprint?
9797
runs-on: ubuntu-20.04
9898
steps:

0 commit comments

Comments
 (0)