fix short compileit script to use AOMP env instead of /tmp/grodgers.  Still do not understand why Makefile is broke
-
-
+#!/bin/bash
# Use this short script for now because Makefile is broken for some reason
-cmd='/tmp/grodgers/rocm/aomp/bin/clang -O2 -target x86_64-pc-linux-gnu -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=gfx803 alignedattribute.c -o alignedattribute'
+mygpu=`$AOMP/bin/mygpu`
+cmd="$AOMP/bin/clang -O2 -target x86_64-pc-linux-gnu -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=$mygpu alignedattribute.c -o alignedattribute"
echo $cmd
$cmd
