mirror of
https://github.com/hanzoui/aimdo.git
synced 2026-10-30 20:34:56 +00:00
11 lines
334 B
Bash
11 lines
334 B
Bash
#!/bin/bash
|
|
|
|
|
|
SRCS="src/*.c"
|
|
docker build -t manylinux-cuda -f docker/cuda-on-manylinux.Dockerfile .
|
|
docker run --rm -v $(pwd):/project -w /project manylinux-cuda \
|
|
gcc -shared -o hanzo_aimdo/aimdo.so -fPIC -Werror \
|
|
-I/usr/local/cuda/include \
|
|
-L/usr/local/cuda-12.1/targets/x86_64-linux/lib/stubs/ \
|
|
${SRCS} -lcuda
|