From 56e89c9e4fb00b5c2af4536d4c50294608d0c46c Mon Sep 17 00:00:00 2001 From: Radosław Kujawa Date: Sun, 2 Aug 2026 22:04:06 +0200 Subject: Performance improvements, support userspace simulators --- configs/darwin-osmesa | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 configs/darwin-osmesa (limited to 'configs/darwin-osmesa') diff --git a/configs/darwin-osmesa b/configs/darwin-osmesa new file mode 100644 index 0000000..2866451 --- /dev/null +++ b/configs/darwin-osmesa @@ -0,0 +1,28 @@ +# Configuration for macOS (arm64 / x86-64), software-only static libOSMesa. +# +# Build with GNU make: gmake darwin-osmesa + +include $(TOP)/configs/default + +CONFIG_NAME = darwin-osmesa + +CC = cc +CXX = c++ + +# -g costs nothing at runtime and lets sample(1)/Instruments attribute +# time to functions inside the static library. +CFLAGS = -O2 -fsigned-char -fno-strict-aliasing -ffast-math -g -MMD -MP +CXXFLAGS = $(CFLAGS) + +# no makedepend on macOS, header deps come from -MMD above +MKDEP = true + +MKLIB_OPTIONS = -static +OSMESA_LIB_NAME = libOSMesa.a + +SRC_DIRS = mesa +DRIVER_DIRS = osmesa +PROGRAM_DIRS = + +OSMESA_LIB_DEPS = +APP_LIB_DEPS = -L$(LIB_DIR) -lOSMesa -lm -- cgit