Skip to content

Commit a05cf63

Browse files
committed
[build] - Do not prepend /usr/bin for RHEL-8 builds to avoid devtoolset issues
1 parent 1f724e8 commit a05cf63

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bin/build_aomp.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ function build_aomp_component() {
1616
echo "OS version 7 found $(cat /etc/os-release)"
1717
# shellcheck disable=1091
1818
[ -f /opt/rh/devtoolset-7/enable ] && . /opt/rh/devtoolset-7/enable
19-
elif [[ $osversion =~ \"8\. ]]; then
20-
echo "OS version 8 found $(cat /etc/os-release)"
21-
echo
22-
echo "Get updated gcc 8: export PATH=/usr/bin:\$PATH"
23-
export PATH=/usr/bin:$PATH
24-
gcc --version
2519
fi
2620

2721
_stats_dir=$AOMP_INSTALL_DIR/.aomp_component_stats

0 commit comments

Comments
 (0)