Skip to content

[Build] ExternalProject failure in CMake #20129

Description

@waarmond

Describe the issue

CMake configuration fails, an external project hash is not accepted by CMake (3.29.0)

Urgency

No response

Target platform

ArchLinux

Build script

cmake -S onnxruntime/cmake -B build
see https://gitlab.archlinux.org/archlinux/packaging/packages/onnxruntime/-/blob/main/PKGBUILD?ref_type=heads for full details

Error / output

CMake Error at /usr/share/cmake/Modules/ExternalProject.cmake:3069 (message):
  URL_HASH is set to

    SHA1=85da3caa60eb2b148613b443fbc2bfdc30689965;add_library;(;nsync::nsync_cpp;ALIAS;nsync_cpp;)

  but must be ALGO=value where ALGO is

    MD5|SHA1|SHA224|SHA256|SHA384|SHA512|SHA3_224|SHA3_256|SHA3_384|SHA3_512

  and value is a hex string.

Visual Studio Version

No response

GCC / Compiler Version

13.2.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buildbuild issues; typically submitted using template

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions