Update build_libdevice.sh to apply 2.10 patches
@@ -55,6 +55,11 @@ fi
export LLVM_BUILD HSA_DIR
export PATH=$LLVM_BUILD/bin:$PATH
+# FIXME: Remove this rocm-device-libs patch when aomp gets to llvm-10
+ patchloc=$thisdir/patches
+ patchdir=$REPO_DIR
+ patchrepo
+
if [ "$1" != "install" ] ; then
if [ $COPYSOURCE ] ; then
@@ -149,4 +154,8 @@ if [ "$1" == "install" ] ; then
echo
echo " $0 Installation complete into $INSTALL_DIR"
echo
+ # FIXME: Remove this comgr patch when aomp gets to llvm-10
+ patchloc=$thisdir/patches
+ patchdir=$REPO_DIR
+ removepatch
fi
