1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 05:57:41 +00:00
serenity/Ports/fio/patches/0003-fio-add-serenityos-support-to-configure.patch
Brian Gianforcaro 4490668af2 Ports: Add fio port
fio allows you to test various different IO subsystems and patterns.
It can help us test and benchmark the I/O subsystems of Serenity.

This port gets the fio bootstrapped and working, using the included
.fio file, I have been able to test the file I/O performance already.
2021-12-22 13:28:13 -08:00

26 lines
667 B
Diff

From 99f1cf657e539078c7347c3ddc4a1537d5332e15 Mon Sep 17 00:00:00 2001
From: Brian Gianforcaro <b.gianfo@gmail.com>
Date: Tue, 21 Dec 2021 23:48:09 -0800
Subject: [PATCH 3/4] Port: Add SerenityOS support to configure
---
configure | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure b/configure
index 84ccce0..04bac14 100755
--- a/configure
+++ b/configure
@@ -323,6 +323,9 @@ elif check_define __NetBSD__ ; then
elif check_define __sun__ ; then
targetos='SunOS'
CFLAGS="$CFLAGS -D_REENTRANT"
+elif check_define __serenity__ ; then
+ targetos='SerenityOS'
+ no_shm="yes"
elif check_define _WIN32 ; then
targetos='CYGWIN'
else
--
2.32.0