Skip to content

Commit

Permalink
WITH_RVV=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
dkurt committed Jan 15, 2025
1 parent 0b06e50 commit 37e9851
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build_gcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build_with_gcc:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
os: [ubuntu-22.04]
runs-on: ${{ matrix.os }}
env:
PACKAGESDIR: ${{ github.workspace }}/packages
Expand Down Expand Up @@ -87,6 +87,8 @@ jobs:
cd runtime
git apply ../runtime.patch
sed -i "s|WITH_RVV OFF|WITH_RVV ON|" src/native/external/zlib-ng.cmake
sed -i "s|set(WITH_RVV OFF)|error("RVV not supported")|" src/native/external/zlib-ng/CMakeLists.txt
sed -i "s|<PublishTrimmed>true</PublishTrimmed>|<PublishTrimmed Condition=\"\'$\(TargetArchitecture\)\' != \'riscv64\'\">true</PublishTrimmed>|" src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj
./build.sh --ci -c Release --cross --arch riscv64 --gcc
cp artifacts/packages/Release/Shipping/Microsoft.NETCore.App.Host.linux-riscv64.*.nupkg ${PACKAGESDIR}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build .NET SDK

on: [workflow_dispatch, pull_request]
on: [workflow_dispatch]

jobs:
run:
Expand Down

0 comments on commit 37e9851

Please sign in to comment.