Clone of mesa.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

catamount-osmesa-pgi 1.0KB

12345678910111213141516171819202122232425262728293031
  1. # Configuration for building only libOSMesa on Cray Xt3
  2. # for the compute nodes running Catamount using the
  3. # Portland Group compiler. The Portland Group toolchain has to be
  4. # enabled before using "module switch PrgEnv-gnu PrgEnv-pgi" .
  5. # This doesn't really have a lot of dependencies, so it should be usable
  6. # on other similar systems too.
  7. # It uses static linking and disables multithreading.
  8. include $(TOP)/configs/default
  9. CONFIG_NAME = catamount-osmesa-pgi
  10. # Compiler and flags
  11. CC = cc
  12. CXX = CC
  13. CFLAGS = -target=catamount -fastsse -O3 -Mnontemporal -Mprefetch=distance:8,nta -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  14. CXXFLAGS = -target=catamount -fastsse -O3 -Mnontemporal -Mprefetch=distance:8,nta -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
  15. MKLIB_OPTIONS = -static
  16. OSMESA_LIB_NAME = libOSMesa.a
  17. # Directories
  18. SRC_DIRS = mesa glu
  19. DRIVER_DIRS = osmesa
  20. # Dependencies
  21. OSMESA_LIB_DEPS = -lm
  22. GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(OSMESA_LIB)
  23. APP_LIB_DEPS = -lOSMesa -lGLU -lm