File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ sbuild-createchroot --arch=${arch} --make-sbuild-tarball=/var/lib/sbuild/${dist}
45
45
# For cross-compilation, install the necessary packages
46
46
if [ " $arch " != " $host_arch " ]; then
47
47
echo " Setting up cross-compilation environment from $host_arch to $arch "
48
-
48
+
49
49
# Install cross-compilation tools in the chroot
50
50
schroot -c source:${dist} -${arch} -sbuild -d / -- apt-get update
51
51
schroot -c source:${dist} -${arch} -sbuild -d / -- apt-get install -y crossbuild-essential-${arch}
52
-
52
+
53
53
# Create a file to tell sbuild this is a cross-compilation environment
54
54
schroot -c source:${dist} -${arch} -sbuild -d / -- touch /etc/sbuild-cross-building
55
55
fi
85
85
86
86
# Install native build tools in the chroot
87
87
schroot -c source:${dist} -${arch} -sbuild -d / -- apt-get update
88
- schroot -c source:${dist} -${arch} -sbuild -d / -- apt-get install -y build-essential python3 python3-pip python3-venv python3-dev g++ clang
88
+ schroot -c source:${dist} -${arch} -sbuild -d / -- apt-get install -y build-essential python3 python3-pip python3-venv python3-dev g++ clang curl
89
+
90
+ # Install Astral uv inside chroot for RediSearch test dependencies that expect it
91
+ schroot -c source:${dist} -${arch} -sbuild -d / -- bash -lc " set -e; curl --proto '=https' --tlsv1.2 -LsSf https://astral.sh/uv/install.sh | sh"
92
+ # Make uv available system-wide in chroot PATH
93
+ schroot -c source:${dist} -${arch} -sbuild -d / -- bash -lc " install -m 0755 \" $HOME /.local/bin/uv\" /usr/local/bin/uv || cp -f \" $HOME /.local/bin/uv\" /usr/local/bin/uv"
94
+ # Verify uv installed
95
+ schroot -c source:${dist} -${arch} -sbuild -d / -- uv -V
89
96
90
97
# Install latest CMake version for Jammy and Bullseye
91
98
if [ " $dist " = " jammy" ] || [ " $dist " = " bullseye" ]; then
You can’t perform that action at this time.
0 commit comments