sglang_v0.5.2/pytorch_2.8.0/third_party/NNPACK/cmake/DownloadPThreadPool.cmake

16 lines
421 B
CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR)
PROJECT(pthreadpool-download NONE)
INCLUDE(ExternalProject)
ExternalProject_Add(pthreadpool
GIT_REPOSITORY https://github.com/Maratyszcza/pthreadpool.git
GIT_TAG master
SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/pthreadpool"
BINARY_DIR "${CONFU_DEPENDENCIES_BINARY_DIR}/pthreadpool"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)