diff options
author | Nicola Vitale <nivit@FreeBSD.org> | 2024-08-26 14:06:34 +0000 |
---|---|---|
committer | Nicola Vitale <nivit@FreeBSD.org> | 2024-08-26 14:06:34 +0000 |
commit | 7abf90ea6000d0ac15fa14acdb77f4da7f701177 (patch) | |
tree | 19b5cfc1b6a9a01f53a6ccf54c1b63134a68682e | |
parent | 9f4fdeb116e560d8899dfb8a04b9d5c873ae87c9 (diff) |
devel/linux-rl9-libatomic: Add new port
Libatomic is a GCC-specific fallback implementation for atomics to
allow architectures that don't always provide a full set of atomics
to runtime-detect the existence of them, or fall back to the use of
mutexes. This is the Linux version.
https://gcc.gnu.org/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/linux-rl9-libatomic/Makefile | 18 | ||||
-rw-r--r-- | devel/linux-rl9-libatomic/distinfo | 5 | ||||
-rw-r--r-- | devel/linux-rl9-libatomic/pkg-descr | 4 | ||||
-rw-r--r-- | devel/linux-rl9-libatomic/pkg-plist.aarch64 | 3 | ||||
-rw-r--r-- | devel/linux-rl9-libatomic/pkg-plist.amd64 | 3 |
6 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 53e34e09a20a..8eae45a7ad9e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1533,6 +1533,7 @@ SUBDIR += linux-rl9-elfutils-libelf SUBDIR += linux-rl9-elfutils-libs SUBDIR += linux-rl9-icu + SUBDIR += linux-rl9-libatomic SUBDIR += linux-rl9-libevent SUBDIR += linux-rl9-libgfortran SUBDIR += linux-rl9-libpciaccess diff --git a/devel/linux-rl9-libatomic/Makefile b/devel/linux-rl9-libatomic/Makefile new file mode 100644 index 000000000000..0e1b4a178cac --- /dev/null +++ b/devel/linux-rl9-libatomic/Makefile @@ -0,0 +1,18 @@ +PORTNAME= libatomic +PORTVERSION= 11.4.1 +DISTVERSIONSUFFIX= -3.el9 +CATEGORIES= devel linux + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Atomic fallback implementation for GCC +WWW= https://gcc.gnu.org/ + +LICENSE= GPLv3 + +USES= linux:rl9 +USE_LDCONFIG= yes +USE_LINUX_RPM= yes + +SRC_DISTFILES= # not available + +.include <bsd.port.mk> diff --git a/devel/linux-rl9-libatomic/distinfo b/devel/linux-rl9-libatomic/distinfo new file mode 100644 index 000000000000..cabf821a5211 --- /dev/null +++ b/devel/linux-rl9-libatomic/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1724673755 +SHA256 (rocky/l/libatomic-11.4.1-3.el9.aarch64.rpm) = 106c434658881d6bab022d4395cedbc2ba44c1730bdfead3b5590fc6789a8cef +SIZE (rocky/l/libatomic-11.4.1-3.el9.aarch64.rpm) = 35915 +SHA256 (rocky/l/libatomic-11.4.1-3.el9.x86_64.rpm) = 31916e42763c30174ed94369f72a2d4afe5cdad9fbc94cf4f764ec2940b3f46a +SIZE (rocky/l/libatomic-11.4.1-3.el9.x86_64.rpm) = 33442 diff --git a/devel/linux-rl9-libatomic/pkg-descr b/devel/linux-rl9-libatomic/pkg-descr new file mode 100644 index 000000000000..1d1888ba98aa --- /dev/null +++ b/devel/linux-rl9-libatomic/pkg-descr @@ -0,0 +1,4 @@ +Libatomic is a GCC-specific fallback implementation for atomics to +allow architectures that don't always provide a full set of atomics +to runtime-detect the existence of them, or fall back to the use of +mutexes. This is the Linux version. diff --git a/devel/linux-rl9-libatomic/pkg-plist.aarch64 b/devel/linux-rl9-libatomic/pkg-plist.aarch64 new file mode 100644 index 000000000000..566dd83bc564 --- /dev/null +++ b/devel/linux-rl9-libatomic/pkg-plist.aarch64 @@ -0,0 +1,3 @@ +usr/lib/.build-id/08/7bc3513e395e2da401565a5655888dc22ed3aa +usr/lib64/libatomic.so.1 +usr/lib64/libatomic.so.1.2.0 diff --git a/devel/linux-rl9-libatomic/pkg-plist.amd64 b/devel/linux-rl9-libatomic/pkg-plist.amd64 new file mode 100644 index 000000000000..a2a138a77c7a --- /dev/null +++ b/devel/linux-rl9-libatomic/pkg-plist.amd64 @@ -0,0 +1,3 @@ +usr/lib/.build-id/51/f1fa43fdfe17b029254eb4aaa9e099749561ce +usr/lib64/libatomic.so.1 +usr/lib64/libatomic.so.1.2.0 |