Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrodgers committed Oct 7, 2019
2 parents cceca82 + 5a76459 commit 56e66c3
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 425 deletions.
30 changes: 30 additions & 0 deletions bin/build_aomp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,36 @@ else
# if AOMP_BUILD_HIP is off, then hcc is not built
components="roct rocr project libdevice comgr rocminfo hip extras atmi openmp pgmath flang flang_runtime"
fi

#Start build from given one component (./build_aomp.sh continue openmp)
if [ $1 == 'continue' ] ; then
for COMPONENT in $components ; do
if [ $COMPONENT == $2 ] ; then
found=1
fi
if [[ $found -eq 1 ]] ; then
list+="$COMPONENT "
fi
done
components=$list
if [ $components == ""] ; then
echo "$2 was not found in the build list!!!"
fi
#Remove arguments so they are not passed to build_aomp_component
set --

#Select which components to build(./build_aomp.sh select libdevice extras)
elif [ $1 == 'select' ] ; then
for ARGUMENT in $@ ; do
if [ $ARGUMENT != $1 ] ; then
list+="$ARGUMENT "
fi
done
components=$list
#Remove arguments so they are not passed to build_aomp_component
set --
fi

for COMPONENT in $components ; do
echo
echo " ================= BUILDING COMPONENT $COMPONENT ==================="
Expand Down
36 changes: 0 additions & 36 deletions examples/cloc/vector_copy_cuda/Makefile

This file was deleted.

28 changes: 0 additions & 28 deletions examples/cloc/vector_copy_cuda/README.md

This file was deleted.

Loading

0 comments on commit 56e66c3

Please sign in to comment.