omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / conformance / build.sh
| 1 | #!/bin/sh |
| 2 | # Build the Omega conformance runner against the CUDApp worktree. |
| 3 | set -eu |
| 4 | cd "$(dirname "$0")" |
| 5 | cudapp=${CUDAPP:-../../cudapp} |
| 6 | [ -f "$cudapp/build/libomega_gpu.a" ] || { echo "CUDApp library missing: $cudapp/build/libomega_gpu.a" >&2; exit 1; } |
| 7 | cc -std=gnu11 -Wall -Wextra -Werror -O2 -I"$cudapp/src" -I"$cudapp/m16" -I"$cudapp/nvrm" \ |
| 8 | -I"$cudapp/third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc" \ |
| 9 | -o build/omega_runner omega_runner.c "$cudapp/build/libomega_gpu.a" -lpthread -lm |
| 10 | file build/omega_runner |