File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77  ubuntu-latest-riscv64-cpu-cross :
8-     runs-on : ubuntu-latest  
8+     runs-on : ubuntu-24.04  
99
1010    steps :
1111      - uses : actions/checkout@v4 
1212      - name : Setup Riscv 
1313        run : | 
1414          sudo dpkg --add-architecture riscv64 
15-           sudo sed -i 's|http://azure.archive.ubuntu.com/ubuntu|http://ports.ubuntu.com/ubuntu-ports|g' \ 
16-                  /etc/apt/sources.list /etc/apt/apt-mirrors.txt 
17-           sudo apt-get clean 
15+ 
16+           # Create a new sources.list with explicit architecture handling 
17+           cat << EOF | sudo tee /etc/apt/sources.list 
18+           # Standard repositories for amd64 only 
19+           deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse 
20+           deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse 
21+           deb [arch=amd64] http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse 
22+           deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse 
23+           EOF 
24+ 
25+           # Add arch-specific repositories for non-amd64 architectures 
26+           cat << EOF | sudo tee /etc/apt/sources.list.d/riscv64-ports.list 
27+           deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble main restricted universe multiverse 
28+           deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-updates main restricted universe multiverse 
29+           deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse 
30+           deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports/ noble-backports main restricted universe multiverse 
31+           EOF 
32+           fi 
33+ 
1834          sudo apt-get update 
1935          sudo apt-get install -y --no-install-recommends \ 
2036                  build-essential \ 
Original file line number Diff line number Diff line change @@ -601,10 +601,8 @@ jobs:
601601            -DGGML_SYCL_F16=ON 
602602          cmake --build build --config Release -j $(nproc) 
603603
604- #  Disabled for now due to sporadic issue syncing.
605- #   build-linux-cross:
606- #     uses: ./.github/workflows/build-linux-cross.yml
607- 
604+    build-linux-cross :
605+     uses : ./.github/workflows/build-linux-cross.yml 
608606
609607  macOS-latest-cmake-ios :
610608    runs-on : macos-latest 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments