remove cmake variable OPENCL_DIR because it is not used in cmake
@@ -96,7 +96,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
fi
VDI_ROOT=$AOMP_REPOS/$AOMP_VDI_REPO_NAME
- MYCMAKEOPTS="$AOMP_ORIGIN_RPATH -DCMAKE_BUILD_TYPE=$BUILDTYPE -DCMAKE_INSTALL_PREFIX=$AOMP_INSTALL_DIR -DUSE_COMGR_LIBRARY=yes -DOPENCL_DIR=$AOMP_REPOS/$AOMP_OCL_REPO_NAME -DVDI_DIR=$VDI_ROOT -DLLVM_INCLUDES=$AOMP_INSTALL_DIR/include -DLIBVDI_STATIC_DIR=$BUILD_DIR/build/vdi -DCMAKE_MODULE_PATH=$VDI_ROOT/cmake/modules -DCMAKE_PREFIX_PATH=$AOMP_INSTALL_DIR;$AOMP_INSTALL_DIR/include"
+ MYCMAKEOPTS="$AOMP_ORIGIN_RPATH -DCMAKE_BUILD_TYPE=$BUILDTYPE -DCMAKE_INSTALL_PREFIX=$AOMP_INSTALL_DIR -DUSE_COMGR_LIBRARY=yes -DVDI_DIR=$VDI_ROOT -DLLVM_INCLUDES=$AOMP_INSTALL_DIR/include -DLIBVDI_STATIC_DIR=$BUILD_DIR/build/vdi -DCMAKE_MODULE_PATH=$VDI_ROOT/cmake/modules -DCMAKE_PREFIX_PATH=$AOMP_INSTALL_DIR;$AOMP_INSTALL_DIR/include"
mkdir -p $BUILD_DIR/build/ocl
cd $BUILD_DIR/build/ocl
