1# VER d6ba69b1 2set(REQ_URL "https://github.com/NVIDIA/cuCollections/archive/d6ba69b1fdab90ae144301e77eb93a2f130ede1d.tar.gz") 3set(SHA256 "8968d3a426db5f48ece1dafd10d51e77c163a53a514055efe96b42b88b938a87") 4set(INCLUDE "include") 5 6mindspore_add_pkg(cucollections 7 HEAD_ONLY ${INCLUDE} 8 URL ${REQ_URL} 9 SHA256 ${SHA256} 10 PATCHES ${TOP_DIR}/third_party/patch/cucollections/0001-refine-bitwise-compare.patch 11 PATCHES ${TOP_DIR}/third_party/patch/cucollections/0002-add-get-api-of-dynamic_map.patch 12 PATCHES ${TOP_DIR}/third_party/patch/cucollections/0003-add-erase-and-export-api.patch 13 PATCHES ${TOP_DIR}/third_party/patch/cucollections/0004-bugfix-for-reserve-find-insert-and-erase-api.patch 14 ) 15include_directories(${cucollections_INC}) 16