diff options
-rw-r--r-- | .github/workflows/bun-linux-build.yml | 2 | ||||
-rw-r--r-- | .github/workflows/bun-mac-aarch64.yml | 8 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64-baseline.yml | 8 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64.yml | 8 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | build.zig | 2 |
6 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/bun-linux-build.yml b/.github/workflows/bun-linux-build.yml index 2959c4ce9..e24f19b10 100644 --- a/.github/workflows/bun-linux-build.yml +++ b/.github/workflows/bun-linux-build.yml @@ -37,7 +37,7 @@ jobs: arch: x86_64 build_arch: amd64 runner: linux-amd64 - - cpu: sandybridge + - cpu: westmere tag: linux-x64-baseline arch: x86_64 build_arch: amd64 diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml index 02cd4159f..7c87d74b1 100644 --- a/.github/workflows/bun-mac-aarch64.yml +++ b/.github/workflows/bun-mac-aarch64.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-obj-darwin-x64-baseline # - cpu: haswell @@ -84,7 +84,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline @@ -102,7 +102,7 @@ jobs: # webkit_url: "https://github.com/oven-sh/WebKit/releases/download/latest/bun-webkit-macos-amd64-lto.tar.gz" # dependencies: true # compile_obj: false - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline @@ -207,7 +207,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline diff --git a/.github/workflows/bun-mac-x64-baseline.yml b/.github/workflows/bun-mac-x64-baseline.yml index 498c2672e..e5d6bac9d 100644 --- a/.github/workflows/bun-mac-x64-baseline.yml +++ b/.github/workflows/bun-mac-x64-baseline.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: include: - - cpu: sandybridge + - cpu: westmere arch: x86_64 tag: bun-obj-darwin-x64-baseline # - cpu: haswell @@ -84,7 +84,7 @@ jobs: strategy: matrix: include: - - cpu: sandybridge + - cpu: westmere arch: x86_64 tag: bun-darwin-x64-baseline obj: bun-obj-darwin-x64-baseline @@ -102,7 +102,7 @@ jobs: # webkit_url: "https://github.com/oven-sh/WebKit/releases/download/latest/bun-webkit-macos-amd64-lto.tar.gz" # dependencies: true # compile_obj: false - - cpu: sandybridge + - cpu: westmere arch: x86_64 tag: bun-darwin-x64-baseline obj: bun-obj-darwin-x64-baseline @@ -207,7 +207,7 @@ jobs: strategy: matrix: include: - - cpu: sandybridge + - cpu: westmere arch: x86_64 tag: bun-darwin-x64-baseline obj: bun-obj-darwin-x64-baseline diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml index 31bfd8808..b8675e684 100644 --- a/.github/workflows/bun-mac-x64.yml +++ b/.github/workflows/bun-mac-x64.yml @@ -31,7 +31,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-obj-darwin-x64-baseline - cpu: haswell @@ -84,7 +84,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline @@ -102,7 +102,7 @@ jobs: webkit_url: "https://github.com/oven-sh/WebKit/releases/download/latest/bun-webkit-macos-amd64-lto.tar.gz" dependencies: true compile_obj: false - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline @@ -207,7 +207,7 @@ jobs: strategy: matrix: include: - # - cpu: sandybridge + # - cpu: westmere # arch: x86_64 # tag: bun-darwin-x64-baseline # obj: bun-obj-darwin-x64-baseline @@ -30,7 +30,7 @@ else BREW_PREFIX_PATH = /usr/local MIN_MACOS_VERSION ?= 10.14 MARCH_NATIVE = -march=$(CPU_TARGET) -mtune=$(CPU_TARGET) - NATIVE_OR_OLD_MARCH = -march=sandybridge + NATIVE_OR_OLD_MARCH = -march=westmere endif AR= @@ -332,7 +332,7 @@ pub fn build(b: *std.build.Builder) !void { ); if (is_baseline) { - obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.sandybridge }; + obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.westmere }; } else if (arch.isX86()) { obj.target.cpu_model = .{ .explicit = &std.Target.x86.cpu.haswell }; } else if (arch.isAARCH64() and target.isDarwin()) { |