File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ jobs:
1717 matrix :
1818 arch :
1919 - host_target : " x86_64-unknown-linux-gnu"
20+ cross_target : " "
2021 gcc_urls : >
2122 https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
2223 - host_target : " m68k-unknown-linux-gnu"
24+ cross_target : " m68k"
2325 gcc_urls : >
2426 https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
25- https://github.com/cross-cg-gcc-tools/cross-gcc/releases/latest/download/gcc-m68k-15.deb
2627
2728 steps :
2829 - uses : actions/checkout@v4
3637 fetch-depth : 10
3738
3839 - run : |
40+ echo $HOME
41+ echo "*****"
3942 ls
4043 echo "*****"
4144 ls ..
5962 done
6063
6164 # TODO: patch linux-raw-sys and rustix.
65+ - name : Move libgccjit.so in libgccjit-libs-dir
66+ if : ${{ matrix.arch.cross_target != '' }}
67+ run : |
68+ curl -LO https://github.com/cross-cg-gcc-tools/cross-gcc/releases/latest/download/gcc-${{ matrix.arch.cross_target }}-15.deb
69+ mkdir cross-gcc
70+ cd cross-gcc
71+ 7z x ../gcc-${{ matrix.arch.cross_target }}-15.deb
72+ 7z l data.tar.zst
73+ echo ****
74+ 7z l control.tar.zst
75+ echo ****
76+ ls
77+ echo ****
78+ ls usr/lib
79+ dir=$HOME/libgccjit-libs-dir/x86_64-unknown-linux-gnu/${{ matrix.arch.host_target }}
80+ mkdir -p $dir
81+ # TODO: create a symlink instead of a copy.
82+ cp usr/lib/libgccjit.so.0.0.1 $dir
6283
6384 - name : Compile rustc
6485 run : |
You can’t perform that action at this time.
0 commit comments