Skip to content

Commit

Permalink
Adding update-alternatives
Browse files Browse the repository at this point in the history
  • Loading branch information
MorganCaron committed Mar 2, 2024
1 parent 39035aa commit 6f007df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ runs:
run: |
export PATH=$PATH:$GITHUB_WORKSPACE/llvm/install/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/llvm/install/lib/x86_64-unknown-linux-gnu
pwd
ls
cd llvm
ls
cd install
ls
cd bin
ls
sudo update-alternatives --install /usr/bin/clang clang $GITHUB_WORKSPACE/llvm/install/bin/clang 1000
sudo update-alternatives --install /usr/bin/clang++ clang++ $GITHUB_WORKSPACE/llvm/install/bin/clang++ 1000
- name: Verify Clang Installation
shell: bash
Expand Down

0 comments on commit 6f007df

Please sign in to comment.