mirror of
https://github.com/pybind/pybind11.git
synced 2025-03-02 06:42:45 +00:00
11 lines
425 B
Bash
Executable File
11 lines
425 B
Bash
Executable File
# remove some doubled options & warnings from
|
|
# `python3.5-config --cflags --ldflags --libs`
|
|
nvcc -ccbin g++-4.9 \
|
|
-shared -std=c++11 --compiler-options -fPIC \
|
|
-I./include \
|
|
-I/usr/include/python3.5m -I/usr/include/python3.5m -DNDEBUG -g \
|
|
-L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -L/usr/lib \
|
|
-Xlinker -export-dynamic \
|
|
-lpython3.5m -lpthread -ldl -lutil -lrt -lm \
|
|
mandelbrot.cu -o mandelbrot.so
|