Skip to content

Commit

Permalink
GHA test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Feb 15, 2024
1 parent a526afe commit b3cc5b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ jobs:
- run: |
echo "CC=clang-${{ matrix.cc_ver }}" >> $GITHUB_ENV
echo "CXX=clang++-${{ matrix.cc_ver }}" >> $GITHUB_ENV
echo "CFLAGS=--target=${{ matrix.t.cl_target }} -I/usr/${{ matrix.t.target }}/include -I`ls -d /usr/${{ matrix.t.target }}/include/c++/*|head -n1`/${{ matrix.t.target }}" >> $GITHUB_ENV
CFLAGS="--target=${{ matrix.t.cl_target }} -I/usr/${{ matrix.t.target }}/include -I`ls -d /usr/${{ matrix.t.target }}/include/c++/*|head -n1`/${{ matrix.t.target }}"
echo "CFLAGS=$CFLAGS" >> $GITHUB_ENV
echo "CXXFLAGS=$CFLAGS" >> $GITHUB_ENV
if [ '${{ matrix.t.arch }}' != 'amd64' ]; then
echo "LDFLAGS=-fuse-ld=/usr/bin/${{ matrix.t.target }}-ld -L/usr/lib/llvm-${{ matrix.cc_ver }}/lib/clang/" >> $GITHUB_ENV
Expand Down

0 comments on commit b3cc5b4

Please sign in to comment.