diff --git a/SDL/Makefile b/SDL/Makefile index 4c4c528b..91ff6a4a 100644 --- a/SDL/Makefile +++ b/SDL/Makefile @@ -99,18 +99,12 @@ CUTVALUEFLAG_FLAGS = -DCUT_VALUE_DEBUG $(LIB_CPU): $(CCOBJECTS_CPU) $(LSTOBJECTS_CPU) $(LD_CPU) $(SOFLAGS_CPU) $^ -o $@ - mkdir -p cpu - ln -sf ../$@ cpu/$(@:_cpu.so=.so) $(LIB_CUDA): $(CCOBJECTS_CUDA) $(LSTOBJECTS_CUDA) $(LD_CUDA) $(SOFLAGS_CUDA) $^ -o $@ - mkdir -p cuda - ln -sf ../$@ cuda/$(@:_cuda.so=.so) $(LIB_ROCM): $(CCOBJECTS_ROCM) $(LSTOBJECTS_ROCM) $(LD_ROCM) $(SOFLAGS_ROCM) $^ -o $@ - mkdir -p rocm - ln -sf ../$@ rocm/$(@:_rocm.so=.so) explicit: $(LIBS) @@ -126,9 +120,6 @@ clean: rm -f *.o rm -f *.d rm -f *.so - rm -rf cpu/ - rm -rf cuda/ - rm -rf rocm/ .PHONY: clean explicit explicit_cache explicit_cache_cutvalue format check check-fix diff --git a/bin/sdl_make_tracklooper b/bin/sdl_make_tracklooper index 78e72acb..68a5a82d 100755 --- a/bin/sdl_make_tracklooper +++ b/bin/sdl_make_tracklooper @@ -79,7 +79,8 @@ if [ -z ${PTCUTVALUE} ]; then PTCUTVALUE=0.8; fi if [ "${CPUBACKEND}" == false ] && [ "${CUDABACKEND}" == false ] && [ "${ROCMBACKEND}" == false ]; then CPUBACKEND=true CUDABACKEND=true -elif [ "${ALLBACKENDS}" == true ]; then +fi +if [ "${ALLBACKENDS}" == true ]; then CPUBACKEND=true CUDABACKEND=true ROCMBACKEND=true diff --git a/bin/sdl_run b/bin/sdl_run index 5eb5f89b..32a1cc6f 100755 --- a/bin/sdl_run +++ b/bin/sdl_run @@ -152,7 +152,7 @@ elif [ "${BACKEND}" == "rocm" ]; then fi ln -s -f ${TRACKLOOPERDIR}/bin/sdl_rocm ${TRACKLOOPERDIR}/bin/sdl elif [ "${BACKEND}" == "default" ]; then - if [[ ! -L ${TRACKLOOPERDIR}/bin/sdl || ! -e ${TRACKLOOPERDIR}/bin/sdl ]]; then + if [[ ! -e ${TRACKLOOPERDIR}/bin/sdl ]]; then echo "Error: default backend was not found. Please recompile." exit 1 fi