-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhaikubench-1.1.0.recipe
More file actions
63 lines (56 loc) · 1.9 KB
/
Copy pathhaikubench-1.1.0.recipe
File metadata and controls
63 lines (56 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SUMMARY="System benchmark suite for Haiku"
DESCRIPTION="HaikuBench is a comprehensive system benchmark suite for Haiku OS. \
It measures CPU (integer, float, multi-thread), memory (sequential read/write, \
copy, latency), cache (L1/L2/L3), kernel primitives (semaphores, threads, ports, \
areas, atomic ops), messaging (BMessage, BLooper), and graphics performance \
(2D app_server drawing, OpenGL 3D, Vulkan compute).
Features:
* 20 system benchmark tests with adaptive sampling and statistical analysis
* 24-test 2D benchmark from basic fills to software 3D teapot rendering
* 2D hardware acceleration detection via accelerant driver identification
* OpenGL GPU benchmark (fill rate, geometry, textures, blending, stencil)
* Vulkan compute benchmark (optional, works with lavapipe or native drivers)
* OpenGL teapot stress test with configurable teapot count
* Real-time CPU/GPU temperature monitoring
* Export results to Markdown and JSON"
HOMEPAGE="https://github.com/atomozero/HaikuBench"
COPYRIGHT="2025 Andrea Bernardi"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/atomozero/HaikuBench/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="de472772cee2137ea8e94101553ea62bf2f11d1b59e892963765b1f10ceb0bc3"
SOURCE_DIR="HaikuBench-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
haikubench$secondaryArchSuffix = $portVersion
app:HaikuBench = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libGLU$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
devel:libGLU$secondaryArchSuffix
vulkan_devel
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
cmd:rc
"
BUILD()
{
make $jobArgs
rc -o HaikuBench.rsrc HaikuBench.rdef
}
INSTALL()
{
mkdir -p $appsDir
cp HaikuBench $appsDir/HaikuBench
xres -o $appsDir/HaikuBench HaikuBench.rsrc
addAppDeskbarSymlink $appsDir/HaikuBench
}