spack/lib/spack/external/archspec/json
Kevin Pedretti 47607dcac5
Use gnuconfig package for config file replacement for RISC-V. (#26364)
* Use gnuconfig package for config file replacement for RISC-V.

This extends the changes in #26035 to handle RISC-V. Before this change,
many packages fail to configure on riscv64 due to config.guess being too
old to know about RISC-V. This is seen out of the box when clingo fails
to build from source due to pkgconfig failing to configure, throwing
error: "configure: error: cannot guess build type; you must specify one".

* Add riscv64 architecture

* Update vendored archspec from upstream project.
These archspec updates include changes needed to support riscv64.

* Update archspec's __init__.py to reflect the commit hash of archspec being used.
2021-10-05 19:22:55 +00:00
..
cpu Use gnuconfig package for config file replacement for RISC-V. (#26364) 2021-10-05 19:22:55 +00:00
COPYRIGHT Make archspec a vendored dependency (#19600) 2020-10-30 13:02:14 -07:00
LICENSE-APACHE Make archspec a vendored dependency (#19600) 2020-10-30 13:02:14 -07:00
LICENSE-MIT Make archspec a vendored dependency (#19600) 2020-10-30 13:02:14 -07:00
NOTICE Make archspec a vendored dependency (#19600) 2020-10-30 13:02:14 -07:00
README.md Make archspec a vendored dependency (#19600) 2020-10-30 13:02:14 -07:00

Archspec-json

The archspec-json repository is part of the Archspec project. It contains data on various architectural aspects of a platform stored in JSON format and is meant to be used as a base to develop language specific APIs.

Currently the repository contains the following JSON files:

.
├── COPYRIGHT
└── cpu
    ├── microarchitectures.json         # Contains information on CPU microarchitectures
    └── microarchitectures_schema.json  # Schema for the file above

License

Archspec is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.

All new contributions must be made under both the MIT and Apache-2.0 licenses.

See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

LLNL-CODE-811653