mirror of
https://github.com/logos-blockchain/sponges.git
synced 2026-07-30 02:23:31 +00:00
22 lines
562 B
Bash
Executable File
22 lines
562 B
Bash
Executable File
#!/bin/sh
|
|
# Due to the fact that cargo does not disable default features when we use
|
|
# cargo build --all --no-default-features we have to explicitly iterate over
|
|
# all crates (see https://github.com/rust-lang/cargo/issues/4753 )
|
|
DIRS=`ls -d */`
|
|
TARGET="thumbv7em-none-eabi"
|
|
cargo clean
|
|
|
|
for dir in $DIRS; do
|
|
# disable check for aesni, as it requires x86
|
|
if [ $dir = "target/" ]
|
|
then
|
|
continue
|
|
fi
|
|
cd $dir
|
|
xargo build --no-default-features --verbose --target $TARGET || {
|
|
echo $dir failed
|
|
exit 1
|
|
}
|
|
cd ..
|
|
done
|