Skip to content
Snippets Groups Projects
Commit 70114fa9 authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Adding script to installing the runtime

parent 67e116e8
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
export HPVM_TENSOR_RT_HOME=/home/hsharif3/Gitlab/hpvm/llvm/projects/hpvm-tensor-rt/
export PATH=/home/hsharif3/Gitlab/hpvm/build/bin/:$PATH
cp ${HPVM_TENSOR_RT_HOME}/tensor_runtime/include/tensor_runtime.h ${HPVM_TENSOR_RT_HOME}/tensor_runtime/include/tensor_runtime.cc
clang++ -emit-llvm -c ${HPVM_TENSOR_RT_HOME}/tensor_runtime/include/tensor_runtime.cc -o ${HPVM_TENSOR_RT_HOME}/lib/tensor_runtime.bc
llvm-dis --version
llvm-dis ${HPVM_TENSOR_RT_HOME}/lib/tensor_runtime.bc
cp ${HPVM_TENSOR_RT_HOME}/build/libtensor_runtime.a ${HPVM_TENSOR_RT_HOME}/lib/libtensor_runtime.a
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment