#!/bin/bash set -e # automatically switch to an x86_64 build on macOS, as this # Qt version does not work on arm64 prefix="" if [[ $OSTYPE == 'darwin'* ]]; then if [ $(uname -m) = arm64 ]; then prefix="arch -arch x86_64" fi fi export PYTHONWARNINGS=default $prefix bazel run $BUILDARGS //qt:runanki_qt515 -- $*