mirror of
https://github.com/red0124/ssp.git
synced 2025-07-31 09:52:31 +02:00
[skip ci] Remove icc scripts
This commit is contained in:
parent
206a1fca6f
commit
2c1581ba70
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2020 Intel Corporation
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
URL=$1
|
|
||||||
COMPONENTS=$2
|
|
||||||
|
|
||||||
curl --output webimage.sh --url "$URL" --retry 5 --retry-delay 5
|
|
||||||
chmod +x webimage.sh
|
|
||||||
./webimage.sh -x -f webimage_extracted --log extract.log
|
|
||||||
rm -rf webimage.sh
|
|
||||||
WEBIMAGE_NAME=$(ls -1 webimage_extracted/)
|
|
||||||
if [ -z "$COMPONENTS" ]; then
|
|
||||||
webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --eula=accept --continue-with-optional-error=yes --log-dir=.
|
|
||||||
installer_exit_code=$?
|
|
||||||
else
|
|
||||||
webimage_extracted/"$WEBIMAGE_NAME"/bootstrapper -s --action install --components="$COMPONENTS" --eula=accept --continue-with-optional-error=yes --log-dir=.
|
|
||||||
installer_exit_code=$?
|
|
||||||
fi
|
|
||||||
rm -rf webimage_extracted
|
|
||||||
exit $installer_exit_code
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2020 Intel Corporation
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
#shellcheck disable=SC2010
|
|
||||||
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
|
|
||||||
# shellcheck source=/dev/null
|
|
||||||
source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
|
|
||||||
CXX=dpcpp
|
|
Loading…
Reference in New Issue
Block a user