test / cmake /DownloadFP16.cmake
Androidonnxfork's picture
Upload folder using huggingface_hub
8b7c501
# 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(fp16-download NONE)
INCLUDE(ExternalProject)
ExternalProject_Add(fp16
URL https://github.com/Maratyszcza/FP16/archive/0a92994d729ff76a58f692d3028ca1b64b145d91.zip
URL_HASH SHA256=e66e65515fa09927b348d3d584c68be4215cfe664100d01c9dbc7655a5716d70
SOURCE_DIR "${CMAKE_BINARY_DIR}/FP16-source"
BINARY_DIR "${CMAKE_BINARY_DIR}/FP16"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
)