pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
isa-l: Intel(R) Intelligent Storage Acceleration Libray
Module Name: pkgsrc-wip
Committed By: Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Wed May 31 11:01:48 2023 -0500
Changeset: e87b8247acd00327c619650343722ddb13202b92
Modified Files:
Makefile
fastp/Makefile
fastp/distinfo
fastp/patches/patch-Makefile
Added Files:
isa-l/DESCR
isa-l/Makefile
isa-l/PLIST
isa-l/distinfo
Log Message:
isa-l: Intel(R) Intelligent Storage Acceleration Libray
ISA-L is a collection of optimized low-level functions targeting storage
applications.
Required to update biology/fastp
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e87b8247acd00327c619650343722ddb13202b92
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
fastp/Makefile | 3 ++-
fastp/distinfo | 9 ++++----
fastp/patches/patch-Makefile | 53 ++++++++++++++++++++++++++------------------
isa-l/DESCR | 2 ++
isa-l/Makefile | 42 +++++++++++++++++++++++++++++++++++
isa-l/PLIST | 1 +
isa-l/distinfo | 5 +++++
8 files changed, 89 insertions(+), 27 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 8e2406cc1f..315b139e32 100644
--- a/Makefile
+++ b/Makefile
@@ -1781,6 +1781,7 @@ SUBDIR+= ircII-current
SUBDIR+= ironpython
SUBDIR+= irrxml
SUBDIR+= irssi-otr
+SUBDIR+= isa-l
SUBDIR+= ised
SUBDIR+= islamic-menus
SUBDIR+= ispell-dictionaries
diff --git a/fastp/Makefile b/fastp/Makefile
index 5397e2a344..84ebda55da 100644
--- a/fastp/Makefile
+++ b/fastp/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= fastp-0.20.0
+DISTNAME= fastp-0.23.4
CATEGORIES= biology
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenGene/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -19,5 +19,6 @@ post-install:
${STRIP} ${DESTDIR}${PREFIX}/bin/fastp
.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/libdeflate/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/fastp/distinfo b/fastp/distinfo
index 7f37bd5576..248673c775 100644
--- a/fastp/distinfo
+++ b/fastp/distinfo
@@ -1,6 +1,7 @@
$NetBSD$
-RMD160 (fastp-0.20.0.tar.gz) = 0ad6a0eb389e31855f1fa95a089aaa653164f88e
-SHA512 (fastp-0.20.0.tar.gz) = 33349b761283a42fb9eaf045ab7f839d5ec335fb394e277519b87f8c95cf682027ab183b174a1b82d908a3e4d1d65ac63a88c30efea04d93a08f559c1a7a732c
-Size (fastp-0.20.0.tar.gz) = 139422 bytes
-SHA1 (patch-Makefile) = 52fa55ead7d384b8c758e7a2d14680a53f61e623
+BLAKE2s (fastp-0.23.4.tar.gz) = a6c4cc3eec4765f28ecb0ee7ee9e19337e6bb6d4305f571b4dbb70331cd98d78
+SHA512 (fastp-0.23.4.tar.gz) = 2c929e974708f8cd2d8cab95d59c0a5fd01bea912f6ba5d08841fd929f0f5019ef89e506c771057bd02b879836ae30564b8417271866b6bbcb4917fbeb387e76
+Size (fastp-0.23.4.tar.gz) = 164071 bytes
+SHA1 (patch-Makefile) = b3a1feb79a08e3c0b755b50281b933da048b866c
+SHA1 (patch-src_main.cpp) = c81d63fcafe612797b511235830b017670310462
diff --git a/fastp/patches/patch-Makefile b/fastp/patches/patch-Makefile
index 6dbd542efc..da927edbe0 100644
--- a/fastp/patches/patch-Makefile
+++ b/fastp/patches/patch-Makefile
@@ -1,48 +1,57 @@
-$NetBSD$
-
-# Add destdir support, install-strip, and respect LDFLAGS
-
---- Makefile.orig 2019-04-17 03:23:22.000000000 +0000
+--- Makefile.orig 2021-10-19 02:19:29 UTC
+++ Makefile
-@@ -3,9 +3,11 @@ DIR_SRC := ./src
+@@ -2,11 +2,13 @@ DIR_INC := ./inc
+ DIR_SRC := ./src
DIR_OBJ := ./obj
- PREFIX ?= /usr/local
-+DESTDIR ?=
- BINDIR ?= $(PREFIX)/bin
- INCLUDE_DIRS ?=
- LIBRARY_DIRS ?=
-+STRIP ?= strip
+-PREFIX ?= /usr/local
+-BINDIR ?= $(PREFIX)/bin
+-INCLUDE_DIRS ?=
+-LIBRARY_DIRS ?=
++PREFIX ?= /usr/local
++BINDIR ?= $(PREFIX)/bin
++INCLUDE_DIRS ?=
++LIBRARY_DIRS ?=
++STRIP ?= strip
++
SRC := $(wildcard ${DIR_SRC}/*.cpp)
OBJ := $(patsubst %.cpp,${DIR_OBJ}/%.o,$(notdir ${SRC}))
-@@ -15,13 +17,14 @@ TARGET := fastp
+
+@@ -15,15 +17,19 @@ TARGET := fastp
BIN_TARGET := ${TARGET}
CXX ?= g++
--CXXFLAGS := -std=c++11 -g -O3 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
--LIBS := -lz -lpthread
--LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) $(LD_FLAGS)
+-CXXFLAGS := -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
++# Optional flags that the user can override by setting CXXFLAGS in the
++# env or make argument
+CXXFLAGS ?= -g -O3
++# Required flags
+CXXFLAGS += -std=c++11 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir))
-+LIBS := -lz
+ LIBS := -lisal -ldeflate -lpthread
+ STATIC_FLAGS := -static -Wl,--no-as-needed -pthread
+-LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) $(LD_FLAGS)
++# Append required flags to standard LDFLAGS from env
+LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS)
+ STATIC_LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_FLAGS) $(LIBS) $(STATIC_LD_FLAGS)
-
+-
${BIN_TARGET}:${OBJ}
- $(CXX) $(OBJ) -o $@ $(LD_FLAGS)
+ $(CXX) $(OBJ) -o $@ $(LDFLAGS)
- ${DIR_OBJ}/%.o:${DIR_SRC}/%.cpp make_obj_dir
- $(CXX) -c $< -o $@ $(CXXFLAGS)
-@@ -38,5 +41,9 @@ make_obj_dir:
+ static:${OBJ}
+ $(CXX) $(OBJ) -o ${BIN_TARGET} $(STATIC_LD_FLAGS)
+@@ -49,6 +55,11 @@ make_obj_dir:
+ mkdir $(DIR_OBJ) ; \
fi
++# Respect DESTDIR for staged installs (used by most package managers)
install:
- install $(TARGET) $(BINDIR)/$(TARGET)
-+ install -d $(DESTDIR)$(BINDIR)
+ install $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
@echo "Installed."
+
++# Many package managers use install-strip target if debugging is not enabled
+install-strip: install
+ $(STRIP) $(DESTDIR)$(BINDIR)/$(TARGET)
diff --git a/isa-l/DESCR b/isa-l/DESCR
new file mode 100644
index 0000000000..b82f755d49
--- /dev/null
+++ b/isa-l/DESCR
@@ -0,0 +1,2 @@
+ISA-L is a collection of optimized low-level functions targeting storage
+applications.
diff --git a/isa-l/Makefile b/isa-l/Makefile
new file mode 100644
index 0000000000..760aaec6bc
--- /dev/null
+++ b/isa-l/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+#
+###########################################################
+# Generated by fbsd2pkg #
+# Wed May 31 10:55:57 CDT 2023 #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+# Unknown tool: USE_TOOLS= libtool:keepla
+#USE_LDCONFIG= yes
+
+DISTNAME= isa-l-2.30.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=01org/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+OWNER= bacon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/01org/isa-l
+COMMENT= Intel(R) Intelligent Storage Acceleration Libray
+# Check this
+LICENSE= modified-bsd
+
+ONLY_FOR_PLATFORM= *-*-x86_64 *-*-powerpc64le *-*-powerpc64 *-*-powerpc
+
+DEPENDS= yasm>0:../../devel/yasm
+
+# Just assuming C and C++: Adjust this!
+USE_LANGUAGES= c c++
+USE_TOOLS+= autoconf automake autoreconf gmake
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -if
+
+# Convert any _DEPENDS above that have a buildlink3.mk
+# .include "../..///buildlink3.mk"
+# CentOS doesn't have zlib in the base, so uncomment if needed.
+# .include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/isa-l/PLIST b/isa-l/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/isa-l/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/isa-l/distinfo b/isa-l/distinfo
new file mode 100644
index 0000000000..5798c9f83e
--- /dev/null
+++ b/isa-l/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (isa-l-2.30.0.tar.gz) = 5e6b9b199aaa6b8ac2b5b2f812508541057167d31a9b104df7fe2a60df7f58d7
+SHA512 (isa-l-2.30.0.tar.gz) = d3ecfb7326097534b06a74b584100336509525ae7cadc6112d0c27e3d8704f3810e18f583d3cc33fa266bfec96db023607622b22ddbf17988ec4bf1bb3b3b9b2
+Size (isa-l-2.30.0.tar.gz) = 649389 bytes
Home |
Main Index |
Thread Index |
Old Index