| 1 |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
| 2 |
From: Alex Myczko <[email protected]> |
| 3 |
Date: Mar, 01 2026 19:36:08 +0000 |
| 4 |
Subject: [PATCH] <short summary of the patch> |
| 5 |
|
| 6 |
TODO: Put a short summary on the line above and replace this paragraph |
| 7 |
with a longer explanation of this change. Complete the meta-information |
| 8 |
with other relevant fields (see below for details). To make it easier, the |
| 9 |
information below has been extracted from the changelog. Adjust it or drop |
| 10 |
it. |
| 11 |
|
| 12 |
Bug-Debian: https://bugs.debian.org/1129329 |
| 13 |
Bug-Debian: https://bugs.debian.org/1129330 |
| 14 |
--- |
| 15 |
The information above should follow the Patch Tagging Guidelines, please |
| 16 |
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here |
| 17 |
are templates for supplementary fields that you might want to add: |
| 18 |
|
| 19 |
Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>) |
| 20 |
Bug: <upstream-bugtracker-url> |
| 21 |
Bug-<Vendor>: <vendor-bugtracker-url> |
| 22 |
Forwarded: (no|not-needed|<patch-forwarded-url>) |
| 23 |
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>) |
| 24 |
Reviewed-By: <name and email of someone who approved/reviewed the patch> |
| 25 |
|
| 26 |
--- sc-membench-1.2.1.orig/Makefile |
| 27 |
+++ sc-membench-1.2.1/Makefile |
| 28 |
@@ -49,12 +49,12 @@ ifeq ($(UNAME_S),Darwin) |
| 29 |
ARCH := $(shell uname -m) |
| 30 |
ifeq ($(ARCH),arm64) |
| 31 |
# ARM64 macOS: Use generic ARMv8-A (works on all Apple Silicon) |
| 32 |
- CFLAGS_ARCH = -mcpu=generic |
| 33 |
+# CFLAGS_ARCH = -mcpu=generic |
| 34 |
CFLAGS_PATHS = -I/opt/homebrew/include |
| 35 |
LDFLAGS_PATHS = -L/opt/homebrew/lib |
| 36 |
else |
| 37 |
# x86_64 macOS: Use baseline x86-64 (works on all Intel Macs) |
| 38 |
- CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 39 |
+# CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 40 |
CFLAGS_PATHS = -I/usr/local/include |
| 41 |
LDFLAGS_PATHS = -L/usr/local/lib |
| 42 |
endif |
| 43 |
@@ -69,19 +69,19 @@ ifeq ($(UNAME_S),Darwin) |
| 44 |
endif |
| 45 |
else ifeq ($(UNAME_S),FreeBSD) |
| 46 |
# FreeBSD: packages in /usr/local, use baseline x86-64 |
| 47 |
- CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 48 |
+# CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 49 |
CFLAGS_PATHS = -I/usr/local/include |
| 50 |
LDFLAGS_PATHS = -L/usr/local/lib |
| 51 |
LDFLAGS_BASE = -lm |
| 52 |
OPENMP_LIBS = |
| 53 |
else ifeq ($(UNAME_S),OpenBSD) |
| 54 |
- CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 55 |
+# CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 56 |
CFLAGS_PATHS = -I/usr/local/include |
| 57 |
LDFLAGS_PATHS = -L/usr/local/lib |
| 58 |
LDFLAGS_BASE = -lm |
| 59 |
OPENMP_LIBS = |
| 60 |
else ifeq ($(UNAME_S),NetBSD) |
| 61 |
- CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 62 |
+# CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 63 |
CFLAGS_PATHS = -I/usr/local/include -I/usr/pkg/include |
| 64 |
LDFLAGS_PATHS = -L/usr/local/lib -L/usr/pkg/lib |
| 65 |
LDFLAGS_BASE = -lm |
| 66 |
@@ -92,11 +92,11 @@ else |
| 67 |
ifeq ($(ARCH),aarch64) |
| 68 |
# ARM64: Use generic ARMv8-A with CRC (universally supported) |
| 69 |
# This works on all ARM64 CPUs from Cortex-A53 to Neoverse-V2 |
| 70 |
- CFLAGS_ARCH = -mcpu=generic+crc |
| 71 |
+# CFLAGS_ARCH = -mcpu=generic+crc |
| 72 |
else ifeq ($(ARCH),x86_64) |
| 73 |
# x86_64: Use baseline x86-64 with SSE2 (universally supported since 2003) |
| 74 |
# This works on all x86_64 CPUs from Opteron/Pentium 4 to latest Xeon/EPYC |
| 75 |
- CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 76 |
+# CFLAGS_ARCH = -march=x86-64 -mtune=generic |
| 77 |
else |
| 78 |
# Other architectures: use generic optimization |
| 79 |
#CFLAGS_ARCH = -mtune=generic |