-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing clang dependency for cross compilation
- Loading branch information
1 parent
a872991
commit c9ea47f
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -222,7 +222,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install toolchain | ||
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y | ||
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y | ||
|
||
- name: Get Rustc version | ||
id: get-rustc-version | ||
|
@@ -245,13 +245,13 @@ jobs: | |
- name: Install cross compiler | ||
run: | | ||
if [ ${{ matrix.target }} = "armv7-unknown-linux-gnueabihf" ]; then | ||
sudo apt-get install -y gcc-arm-linux-gnueabihf | ||
sudo apt-get install -y gcc-arm-linux-gnueabihf libclang-dev | ||
fi | ||
if [ ${{ matrix.target }} = "aarch64-unknown-linux-gnu" ]; then | ||
sudo apt-get install -y gcc-aarch64-linux-gnu | ||
sudo apt-get install -y gcc-aarch64-linux-gnu libclang-dev | ||
fi | ||
if [ ${{ matrix.target }} = "riscv64gc-unknown-linux-gnu" ]; then | ||
sudo apt-get install -y gcc-riscv64-linux-gnu | ||
sudo apt-get install -y gcc-riscv64-linux-gnu libclang-dev | ||
fi | ||
- name: Set target link compiler | ||
|