tce-load -lwi compiletc cmake squashfs-tools wget --no-check-certificate -O- https://github.com/google/highway/archive/refs/tags/1.0.7.tar.gz | tar -xz cd highway-1.0.7/ export CFLAGS="-mtune=generic -Os -pipe" export CXXFLAGS="-mtune=generic -Os -pipe -fno-exceptions -fno-rtti" cmake -S . -B build -DHWY_ENABLE_TESTS=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr/local cd build/ make -j8 make install DESTDIR=/tmp/libhwy/ mksquashfs /tmp/libhwy/ ../../libhwy.tcz -e usr/local/lib/pkgconfig/ -e usr/local/lib/cmake/ -e usr/local/include rm -rf /tmp/libhwy/usr/local/lib/*.so* mksquashfs /tmp/libhwy/ ../../libhwy-dev.tcz