You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

jpeg_turbo.cmake 590 B

12345678910111213
  1. set(jpeg_turbo_USE_STATIC_LIBS ON)
  2. set(jpeg_turbo_CFLAGS "-fstack-protector-all -Wno-maybe-uninitialized -Wno-unused-parameter -fPIC -D_FORTIFY_SOURCE=2 -O2")
  3. set(jpeg_turbo_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack")
  4. mindspore_add_pkg(jpeg_turbo
  5. VER 2.0.4
  6. LIBS jpeg
  7. URL https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.4.tar.gz
  8. MD5 44c43e4a9fb352f47090804529317c88
  9. CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=TRUE
  10. )
  11. include_directories(${jpeg_turbo_INC})
  12. add_library(mindspore::jpeg_turbo ALIAS jpeg_turbo::jpeg)

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.

Contributors (1)