File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1+ include src/**
2+ include src/**/**
3+ include src/**/**/**
4+ include include/**
5+ include Makefile
Original file line number Diff line number Diff line change 1111 mkdir out
1212
1313test :
14- # ${PYTHON_BIN} tests/test.py
15- ${PYTHON_BIN} tests/test-with-multiprocessing.py
14+ ${PYTHON_BIN} tests/test.py
15+ # ${PYTHON_BIN} tests/test-with-multiprocessing.py
1616
1717pynvjpeg : build/lib/libcolor_space.a
18- # rm build/lib.linux-aarch64-3.6/nvjpeg.cpython-36m-aarch64-linux-gnu.so -f
1918 ${PYTHON_BIN} setup.py build
2019
20+ lib_cuda : build/lib/libcolor_space.a
21+
2122build/lib/libcolor_space.a : src/jetson/Utils/ColorSpace.cu
2223 mkdir -p build/lib
2324 nvcc -DCUDNN --compiler-options " -fPIC -lstdc++ -pthread -lm" -c src/jetson/Utils/ColorSpace.cu -o build/lib/libcolor_space.a
Original file line number Diff line number Diff line change 1414if platform .system () == 'Linux' :
1515 if os .path .exists ('/usr/src/jetson_multimedia_api' ):
1616 # Jetson
17+ os .system ('make lib_cuda' )
1718 extension_nvjpeg = Extension ('nvjpeg' ,
1819 [
1920 'nvjpeg-python.cpp' , 'src/jetson/JpegCoder.cpp' ,
You can’t perform that action at this time.
0 commit comments