Download tasks/circuit_workshop/solution/reference/build.sh from Tokenwave-AI/REE: direct link, hf CLI and curl.
- Browser
- Download file 412 Bytes
-
https://huggingface.co/datasets/Tokenwave-AI/REE/resolve/main/tasks/circuit_workshop/solution/reference/build.sh
- Command line
-
hf download hf://datasets/Tokenwave-AI/REE/tasks/circuit_workshop/solution/reference/build.sh
-
curl -L -o build.sh https://huggingface.co/datasets/Tokenwave-AI/REE/resolve/main/tasks/circuit_workshop/solution/reference/build.sh
412 Bytes
| set -eu | |
| : "${CORE_DIR:?CORE_DIR must be set}" | |
| method_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) | |
| cd "$method_dir" | |
| # Same compiler and optimization level as the upstream makefile. | |
| gcc -O9 -o irepair vendor/repair/irepair.c vendor/repair/array.c vendor/repair/hash.c vendor/repair/heap.c vendor/repair/records.c vendor/repair/basics.c | |
| g++ -std=c++17 -O2 -I "$CORE_DIR/interface" main.cpp -o adapter | |