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.

libtiff.cmake 833 B

12345678910111213141516
  1. set(tiff_CXXFLAGS "-fstack-protector-all -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-unused-result \
  2. -Wno-unused-but-set-variable -fPIC -D_FORTIFY_SOURCE=2 -O2")
  3. set(tiff_CFLAGS "-fstack-protector-all -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-unused-result \
  4. -Wno-unused-but-set-variable -fPIC -D_FORTIFY_SOURCE=2 -O2")
  5. set(tiff_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack")
  6. mindspore_add_pkg(tiff
  7. VER 4.1.0
  8. LIBS tiff
  9. URL https://gitlab.com/libtiff/libtiff/-/archive/v4.1.0/libtiff-v4.1.0.tar.gz
  10. MD5 21de8d35c1b21ac82663fa9f56d3350d
  11. CMAKE_OPTION -DCMAKE_BUILD_TYPE=Release -Djbig=OFF -Dlzma=OFF -Djpeg12=OFF -Dzstd=OFF -Dpixarlog=OFF
  12. -Dold-jpeg=OFF -Dwebp=OFF -DBUILD_SHARED_LIBS=OFF)
  13. message("tiff include = ${tiff_INC}")
  14. message("tiff lib = ${tiff_LIB}")

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

Contributors (1)