diff --git a/target_specs/BUILD.bazel b/target_specs/BUILD.bazel new file mode 100644 index 0000000..565d300 --- /dev/null +++ b/target_specs/BUILD.bazel @@ -0,0 +1,21 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + +# Expose raw JSON specification files to external repository boundaries (score_crates) +exports_files( + [ + "aarch64-unknown-nto-qnx800.json", + "x86_64-pc-nto-qnx800.json", + ], + visibility = ["//visibility:public"], +) diff --git a/target_specs/aarch64-unknown-nto-qnx800.json b/target_specs/aarch64-unknown-nto-qnx800.json new file mode 100644 index 0000000..42c0d69 --- /dev/null +++ b/target_specs/aarch64-unknown-nto-qnx800.json @@ -0,0 +1,12 @@ +{ + "arch": "aarch64", + "data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", + "llvm-target": "aarch64-unknown-nto-qnx800", + "max-atomic-width": 128, + "os": "nto", + "target-env": "nto80", + "target-family": [ + "unix" + ], + "target-pointer-width": "64" +} diff --git a/target_specs/x86_64-pc-nto-qnx800.json b/target_specs/x86_64-pc-nto-qnx800.json new file mode 100644 index 0000000..60a63ee --- /dev/null +++ b/target_specs/x86_64-pc-nto-qnx800.json @@ -0,0 +1,12 @@ +{ + "arch": "x86_64", + "data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128", + "llvm-target": "x86_64-pc-nto-qnx800", + "max-atomic-width": 64, + "os": "nto", + "target-env": "nto80", + "target-family": [ + "unix" + ], + "target-pointer-width": "64" +}