Skip to content

Commit

Permalink
libibscif-1.1.3 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Dec 17, 2024
1 parent 453c96a commit f991b78
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 33 deletions.
33 changes: 18 additions & 15 deletions libibscif/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,38 @@ libibscif
User space library for OFED/SCIF that plugs into libibverbs

Runtime requirements:
cygwin-2.4.1-1
libibverbs1-1.2.0-1bl1
cygwin-3.5.4-1
libibverbs1-1.2.1-1bl2

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.25-4
cygport-0.21.0-1
gcc-core-5.3.0-3
libtool-2.4.6-3
make-4.1-1
autoconf-15-2
automake-20240607-1
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libibverbs-devel-1.2.1-1bl2
libtool-2.5.3-1
make-4.4.1-2

Canonical website:
https://www.openfabrics.org/

Canonical download:
https://www.openfabrics.org/downloads/libibscif/libibscif-1.0.0.tar.gz
https://www.openfabrics.org/downloads/libibscif/libibscif-1.1.3.tar.bz2

-------------------------------------------

Build instructions:
1. unpack libibscif-1.0.0-X-src.tar.xz
1. unpack libibscif-1.1.3-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./libibscif-1.0.0-X.cygport all
% cygport ./libibscif-1.1.3-X.cygport all

This will create:
/usr/src/libibscif-1.0.0-X-src.tar.xz
/usr/src/libibscif-1.0.0-X.tar.xz
/usr/src/libibscif-1.1.3-X-src.tar.xz
/usr/src/libibscif-1.1.3-X.tar.xz

-------------------------------------------

Expand All @@ -42,7 +43,6 @@ Files included in the binary package:
(libibscif)
/etc/libibverbs.d/ibscif.driver
/usr/bin/cygibscif-rdmav2.dll
/usr/lib/libibscif.dll.a
/usr/share/doc/Cygwin/libibscif.README
/usr/share/doc/libibscif/AUTHORS
/usr/share/doc/libibscif/COPYING
Expand All @@ -52,5 +52,8 @@ Files included in the binary package:

Port Notes:

----- version 1.1.3-1bl1 -----
Version bump.

----- version 1.0.0-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
6 changes: 0 additions & 6 deletions libibscif/libibscif-1.0.0-1bl1.cygport

This file was deleted.

12 changes: 0 additions & 12 deletions libibscif/libibscif-1.0.0-1bl1.src.patch

This file was deleted.

23 changes: 23 additions & 0 deletions libibscif/libibscif-1.1.3-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
HOMEPAGE="https://www.openfabrics.org/"
SRC_URI="https://www.openfabrics.org/downloads/${PN}/${P}.tar.bz2"

CATEGORY="Libs"
SUMMARY="User space library for OFED/SCIF that plugs into libibverbs"
DESCRIPTION="${SUMMARY}"

LICENSE="BSD-2-Clause"
LICENSE_SPDX="SPDX-License-Identifier: BSD-2-Clause"
LICENSE_URI="COPYING"

BUILD_REQUIRES="libibverbs-devel"

export LDFLAGS="${LDFLAGS} `pkg-config --libs libibverbs`"

PKG_IGNORE="
usr/lib/libibscif.dll.a
"
PKG_CONTENTS="
etc
usr/bin
usr/share
"
13 changes: 13 additions & 0 deletions libibscif/libibscif-1.1.3-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- origsrc/libibscif-1.1.3/Makefile.am 2017-02-16 02:57:15.000000000 +0900
+++ src/libibscif-1.1.3/Makefile.am 2024-12-17 12:42:14.256656600 +0900
@@ -1,9 +1,8 @@
ACLOCAL_AMFLAGS = -I config
-AM_CFLAGS = -Wall -g

lib_LTLIBRARIES = src/libibscif.la
src_libibscif_la_SOURCES = src/ibscifverbs.c
-src_libibscif_la_LDFLAGS = -avoid-version -release rdmav2
+src_libibscif_la_LDFLAGS = -no-undefined -avoid-version -release rdmav2
ibscifconfdir = $(sysconfdir)/libibverbs.d
ibscifconf_DATA = ibscif.driver

0 comments on commit f991b78

Please sign in to comment.