Compare commits

...

3 Commits

Author SHA1 Message Date
madonuko ada046ed2d Merge branch 'frawhide' into mado/w/bun 2025-05-26 19:57:57 +08:00
madonuko a55a388772 feat(bun): support for x86_64_v3 2025-05-26 19:56:36 +08:00
madonuko 0169025601 add: bun-bin
Closes #3159.
2025-02-09 18:26:57 +08:00
2 changed files with 8 additions and 3 deletions
+4 -3
View File
@@ -1,5 +1,7 @@
%define debug_package %nil %define debug_package %nil
%ifarch x86_64 %ifarch x86_64_v3
%global a x64
%elifarch x86_64
%global a x64-baseline %global a x64-baseline
%elifarch aarch64 %elifarch aarch64
%global a aarch64 %global a aarch64
@@ -7,12 +9,11 @@
Name: bun-bin Name: bun-bin
Version: 1.2.14 Version: 1.2.14
Release: 2%?dist Release: 3%?dist
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager all in one Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager all in one
License: MIT License: MIT
URL: https://bun.sh URL: https://bun.sh
Source0: https://github.com/oven-sh/bun/releases/download/bun-v%version/bun-linux-%a.zip Source0: https://github.com/oven-sh/bun/releases/download/bun-v%version/bun-linux-%a.zip
BuildRequires: unzip
%description %description
%summary. %summary.
+4
View File
@@ -0,0 +1,4 @@
if sh("ps | grep anda | wc -l", #{ "stdout": "piped" }).ctx.stdout[0] == "1" {
print("pre: building for x86_64_v3 first");
sh("../anda/target/debug/anda build devs/bun -rrpmbuild --rpm-target x86_64_v3", #{});
}