Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Make OSPRAY optional.
  • Loading branch information
jvermaas committed Apr 26, 2022
1 parent 1f2eb6a commit a9990a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ DESTDIR=$(shell pwd)
ARCH=$(shell getconf LONG_BIT)
VMDVER="1.9.4a55"
OPTIX=""
OSPRAY=""
ifeq ($(ARCH),64)
PLUGINTEXT=LINUXAMD64
#OPTIX=LIBOPTIX #Uncomment this if you want to add in the OptiX renderer.
#OSPRAY=LIBOSPRAY2 #Uncomment this if you want to add in the OSPRAY renderer.
else
PLUGINTEXT=LINUX
endif
Expand All @@ -27,10 +29,10 @@ copyvmd:

compilevmd: copyvmd
cd vmd; \
./configure $(PLUGINTEXT) OPENGL TK FLTK IMD ACTC XINERAMA LIBTACHYON ZLIB LIBPNG NETCDF TCL PYTHON PTHREADS NUMPY COLVARS LIBOSPRAY2 ; \
./configure $(PLUGINTEXT) OPENGL TK FLTK IMD ACTC XINERAMA LIBTACHYON ZLIB LIBPNG NETCDF TCL PYTHON PTHREADS NUMPY COLVARS $(OSPRAY) ; \
cd src ; make -j
cd vmd-cuda; \
./configure $(PLUGINTEXT) OPENGL TK FLTK IMD ACTC XINERAMA LIBTACHYON ZLIB LIBPNG NETCDF TCL PYTHON PTHREADS NUMPY COLVARS LIBOSPRAY2 CUDA $(OPTIX); \
./configure $(PLUGINTEXT) OPENGL TK FLTK IMD ACTC XINERAMA LIBTACHYON ZLIB LIBPNG NETCDF TCL PYTHON PTHREADS NUMPY COLVARS $(OSPRAY) CUDA $(OPTIX); \
cd src ; make -j

installplugins:
Expand Down

0 comments on commit a9990a3

Please sign in to comment.