forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
tomflinda edited this page Aug 20, 2025
·
2 revisions
Welcome to the llvm wiki! Step 1: build llvm command:
export DPCPP_HOME=~/hdd/sycl_workspace
mkdir $DPCPP_HOME
cd $DPCPP_HOME
python3 $DPCPP_HOME/llvm/buildbot/configure.py --cuda -o $DPCPP_HOME/build -t Release
python3 $DPCPP_HOME/llvm/buildbot/compile.py -o $DPCPP_HOME/build
export PATH=$DPCPP_HOME/build/install/bin:$PATH
export LD_LIBRARY_PATH=$DPCPP_HOME/build/install/lib:$LD_LIBRARY_PATH
export CPATH=$DPCPP_HOME/build/install/include:$CPATH
#clang++ -fsycl simple-sycl-app.cpp -o simple-sycl-app-cuda.exe