test / cmake /DownloadPThreadPool.cmake
Androidonnxfork's picture
Upload folder using huggingface_hub
8b7c501
raw
history blame
748 Bytes
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# Copyright 2019 Google LLC
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
CMAKE_MINIMUM_REQUIRED(VERSION 3.5 FATAL_ERROR)
PROJECT(pthreadpool-download NONE)
INCLUDE(ExternalProject)
ExternalProject_Add(pthreadpool
URL https://github.com/Maratyszcza/pthreadpool/archive/43edadc654d6283b4b6e45ba09a853181ae8e850.zip
URL_HASH SHA256=e6370550a1abf1503daf3c2c196e0a1c2b253440c39e1a57740ff49af2d8bedf
SOURCE_DIR "${CMAKE_BINARY_DIR}/pthreadpool-source"
BINARY_DIR "${CMAKE_BINARY_DIR}/pthreadpool"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)