Skip to content

Instantly share code, notes, and snippets.

@advancedwebdeveloper
Created November 8, 2020 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save advancedwebdeveloper/2927ae765f44e387a804d01523bc572f to your computer and use it in GitHub Desktop.
Save advancedwebdeveloper/2927ae765f44e387a804d01523bc572f to your computer and use it in GitHub Desktop.
name: LLVM
on:
create:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Clang's version
run: clang --version
- name: Check our path
run: pwd
- name: Extracting llc's host target
run: llc-9 --version | grep CPU
- name: Compile test tool, for retrieveing CPU features
run: clang -I/usr/lib/llvm-9/include/ -I/usr/lib/llvm-9/include/llvm-c -L/usr/lib/llvm-9/lib -lLLVM-9 -lstdc++ $GITHUB_WORKSPACE/llvm_cpu_features_investigation.cpp
- name: Run the CPU feature extractor
run: ./a.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment