diff --git a/.bazelrc b/.bazelrc index 03926813d..67e0b70f4 100644 --- a/.bazelrc +++ b/.bazelrc @@ -110,9 +110,6 @@ test:unit-tests-arm64-qnx --run_under=@score_qnx_unit_tests//src:run_under_qnx test:unit-tests-arm64-qnx --//config:integration_mode=skip test:unit-tests-arm64-qnx --//config:unit_mode=qemu -# to be removed -build:build_qnx8 --config=arm64-qnx - # Benchmark configuration — optimized build with no debug symbols build:bench -c opt diff --git a/scripts/build_qnx8.sh b/scripts/build_qnx8.sh deleted file mode 100755 index 11c52a5e9..000000000 --- a/scripts/build_qnx8.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -# ******************************************************************************* -# Copyright (c) 2025 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 -# ******************************************************************************* -echo "Pass the BAZEL targets as arguments, e.g.: //src/... " - -# Exit immediately if any command fails -set -e - - -# Check if SCORE_QNX_USER and SCORE_QNX_PASSWORD are set -if [[ -z "${SCORE_QNX_USER}" || -z "${SCORE_QNX_PASSWORD}" ]]; then - # If either is missing, check for .netrc - if [[ ! -f "$HOME/.netrc" ]]; then - echo "Error: Either SCORE_QNX_USER/SCORE_QNX_PASSWORD must be set, or $HOME/.netrc must exist." - exit 1 - fi -fi - -echo "Note: If it fails with 'Error downloading [https://www.qnx.com/download/download/79858/installation.tgz]' access this link from webbrowser and accept the license agreement." - -# Use default argument //src/... if none provided -if [ $# -eq 0 ]; then - set -- //src/... -fi - -bazel build --config=build_qnx8 --credential_helper=*.qnx.com=%workspace%/scripts/internal/qnx_creds.py "$@"