Skip to content

Commit a7a05ae

Browse files
committed
update setup_env script
1 parent 22997ab commit a7a05ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/setup_environment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function setup_ubuntu_install_dependencies() {
104104
pip install pyelftools ninja
105105

106106
# Ice driver dependencies
107-
if [ "${SETUP_BUILD_AND_INSTALL_ICE_DRIVER}" == "1" ] || [ "${CICD_BUILD}" == "1" ]; then
107+
if [ "${SETUP_BUILD_AND_INSTALL_ICE_DRIVER}" == "1" ]; then
108108
echo "Installing Ice driver dependencies"
109109

110110
if sudo apt-get install -y "linux-headers-$(uname -r)"; then
@@ -124,7 +124,7 @@ function setup_ubuntu_install_dependencies() {
124124
log_warning "Installed linux-headers-generic."
125125
fi
126126
else
127-
log_warning "Installation aborted by user.."
127+
log_warning "ICE cannot be installed in CI, quitting..."
128128
exit 0
129129
fi
130130
fi

0 commit comments

Comments
 (0)