Cannot built on mac with c++17 enabled, under latest LLVM release.
/Users/siyuan/CLionProjects/graphscope/learning_engine/graph-learn/graphlearn/src/common/threading/lockfree/lockfree_stack.h:70:8: error: no member named 'random_shuffle' in namespace 'std'
std::random_shuffle(index.begin(), index.end());
~~~~~^
std::random_shuffle was deprecated in c++14 and deleted in c++17, use std::shuffle to replace it.
Cannot built on mac with c++17 enabled, under latest LLVM release.
std::random_shuffle
was deprecated in c++14 and deleted in c++17, usestd::shuffle
to replace it.ref: https://en.cppreference.com/w/cpp/algorithm/random_shuffle