mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
20 lines
238 B
Bash
Executable File
20 lines
238 B
Bash
Executable File
#!/bin/bash
|
|
set -x -e
|
|
cd "$(dirname "$0")"
|
|
|
|
DEFAULT_TARGETS=(
|
|
"x86_64-linux-gnu"
|
|
)
|
|
|
|
if [ "$#" -gt 0 ]; then
|
|
TARGETS=("$@")
|
|
else
|
|
TARGETS=("${DEFAULT_TARGETS[@]}")
|
|
fi
|
|
|
|
../prepare_torch.sh
|
|
|
|
cd ../torch_dart
|
|
|
|
./build.sh "${TARGETS[@]}"
|