Port details
mnn Lightweight deep neural network inference engine
3.6.2 misc Σ =0 3.6.1Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2019-12-29 18:52:53
Last Update: 2026-11-05 20:04:22
Commit Hash: b67669d
License: APACHE20
WWW: https://github.com/alibaba/MNN Description: # MNN is a lightweight deep neural network inference engine. It loads models and
does inference on devices. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
Dependency lines :
For LIB depends:libMNN.so:misc/mnn libMNNConvertDeps.so:misc/mnn libMNNTrain.so:misc/mnn libMNNTrainUtils.so:misc/mnn libMNN_Express.so:misc/mnn
To install the port : # cd /usr/ports/misc/mnn/ && make install clean To add the package , run one of these commands: pkg install misc/mnn pkg install mnn NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.PKGNAME: mnn Flavors: # there is no flavor information for this port. distinfo: # TIMESTAMP = 1793847447
SHA256 (alibaba-MNN-3.6.2_GH0.tar.gz) = 3470ee82104c3c2b570ef581030e29956bb38f972c5f6cef51805ba8f41a40e5
SIZE (alibaba-MNN-3.6.2_GH0.tar.gz) = 95630566
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
bash : shells/bash cmake : devel/cmake-core ninja : devel/ninja
Library dependencies: #
libprotobuf.so : devel/protobuf
There are no ports dependent upon this port #
Configuration Options : #
===> The following configuration options are available for mnn-3.6.2:
APPS=on: Build ML training, quantization tools
CONVERTER=on: Build the model converter tool
HARD_FP=on: Hard floating point numbers
===> Use 'make config' to modify these settings Options name : #
misc_mnn USES: #
cmake:testing compiler:c++11-lang localbase shebangfix
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
3.6.2 05 Nov 2026 20:04:22
Yuri Victorovich (yuri)
misc/mnn: update 3.6.1 → 3.6.2
3.6.1 12 Sep 2026 00:37:25
Yuri Victorovich (yuri)
misc/mnn: update 3.6.0 → 3.6.1
3.6.0 18 Jun 2026 00:51:22
Yuri Victorovich (yuri)
misc/mnn: update 3.5.0 → 3.6.0
3.5.0 13 Apr 2026 20:00:29
Yuri Victorovich (yuri)
misc/mnn: update 2.9.0 → 3.5.0
2.9.0_8 17 Mar 2026 05:48:21
Koichiro Iwao (meta)
*/*: Bump all devel/protobuf consumers
They must always be bumped after devel/protobuf because it include
following files whose filenames contain %%PORTVERSION%%. Consequently,
the shlib will always change when PORTVERSION is increased.
lib/libprotobuf-lite.so.%%PORTVERSION%%.0
lib/libprotobuf.so.%%PORTVERSION%%.0
lib/libprotoc.so.%%PORTVERSION%%.0
Approved by: portmgr (blanket; fixing consumers)
2.9.0_7 18 Apr 2025 05:37:04
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 29.4
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_6 28 Jan 2025 17:23:28
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 29.3
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_5 29 Oct 2024 14:38:30
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 28.3
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_4 07 Oct 2024 14:16:41
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 28.2
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_3 18 Sep 2024 19:10:12
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 28.1
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_2 15 Sep 2024 20:09:36
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 28.0
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0_1 15 Aug 2024 10:55:26
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 27.3
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.9.0 15 May 2024 20:08:07
Yuri Victorovich (yuri)
misc/mnn: update 2.8.1 → 2.9.0
Reported by: portscout
2.8.1 14 Mar 2024 17:44:03
Yuri Victorovich (yuri)
misc/mnn: update 2.6.0 → 2.8.1
Reported by: portscout
2.6.0_1 14 Dec 2023 17:03:10
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 24.4
- Use USES=pathfix to fix .pc installation
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
2.6.0 07 Jul 2023 07:26:30
Yuri Victorovich (yuri)
misc/mnn: Update 2.5.1 → 2.6.0
Reported by: portscout
2.5.1 03 Jun 2023 14:24:54
Yuri Victorovich (yuri)
misc/mnn: Update 2.5.0 → 2.5.1
Reported by: portscout
2.5.0 30 Apr 2023 18:26:55
Yuri Victorovich (yuri)
misc/mnn: Update 2.4.0 → 2.5.0
Reported by: portscout
2.4.0 14 Mar 2023 09:57:04
Yuri Victorovich (yuri)
misc/mnn: Update 1.2.0 → 2.4.0
Reported by: portscout
1.2.0_5 09 Oct 2022 15:37:51
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 3.21.7
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
07 Sep 2022 21:58:51
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
1.2.0_4 07 Sep 2022 21:10:59
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
1.2.0_4 14 May 2022 21:35:31
Yuri Victorovich (yuri)
devel/flatbuffers: Update 2.0.5 -> 2.0.6
Forked 2.0.5 as devel/flatbuffers205.
Several dependencies use flatbuffers headers generated
by previous versions of flatbuffers which from now on
will be incompatible with newer flatbuffers versions.
PR: 263552
Reported by: jbeich@
1.2.0_3 16 Apr 2022 04:19:07
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 3.20.0
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
1.2.0_2 28 Feb 2022 12:46:46
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 3.19.4
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
1.2.0_1 28 Feb 2022 12:46:45
Po-Chuan Hsieh (sunpoet)
misc/mnn: Fix build
FAILED:
tools/converter/CMakeFiles/MNNConvertDeps.dir/__/__/3rd_party/flatbuffers/src/util.cpp.o
/usr/local/libexec/ccache/c++ -DGOOGLE_PROTOBUF_NO_RTTI -DMNNConvertDeps_EXPORTS
-DMNN_SUPPORT_TFLITE_QUAN -DMNN_USE_THREAD_POOL -DMNN_VERSION=\"0.2.1.5git\"
-DMNN_VERSION_MAJOR=0 -DMNN_VERSION_MINOR=2 -DMNN_VERSION_PATCH=1
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/include
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/source
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/express
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/tools
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/codegen
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/schema/current
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/half
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/imageHelper
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/OpenCLHeaders
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/tools/converter/include
-I/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/tools/converter/source/tflite/schema
-I/wrkdirs/usr/ports/misc/mnn/work/.build/tools/converter -O2 -pipe -fPIC
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-pthread -fPIC -isystem /usr/local/include -std=c++11 -O3
-fvisibility-inlines-hidden -fvisibility=hidden -fomit-frame-pointer
-fstrict-aliasing -ffunction-sections -fdata-sections -ffast-math -fno-rtti
-fno-exceptions -O2 -pipe -fPIC -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -pthread -fPIC -isystem
/usr/local/include -fPIC -std=gnu++11 -MD -MT
tools/converter/CMakeFiles/MNNConvertDeps.dir/__/__/3rd_party/flatbuffers/src/util.cpp.o
-MF
tools/converter/CMakeFiles/MNNConvertDeps.dir/__/__/3rd_party/flatbuffers/src/util.cpp.o.d
-o
tools/converter/CMakeFiles/MNNConvertDeps.dir/__/__/3rd_party/flatbuffers/src/util.cpp.o
-c /wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/flatbuffers/src/util.cpp
/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/flatbuffers/src/util.cpp:150:37:
error: use of undeclared identifier 'string_back'
char &filepath_last_character = string_back(filepath);
^
/wrkdirs/usr/ports/misc/mnn/work/MNN-1.2.0/3rd_party/flatbuffers/src/util.cpp:227:18:
error: use of undeclared identifier 'string_back'
(ch == string_back(s)))
^
2 errors generated.
Approved by: portmgr (blanket)
1.2.0_1 21 Jul 2021 18:11:52
Po-Chuan Hsieh (sunpoet)
devel/protobuf: Update to 3.17.3
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/protocolbuffers/protobuf/releases
PR: 257026
Exp-run by: antoine
1.2.0 20 Jun 2021 17:47:20
Yuri Victorovich (yuri)
misc/mnn: Update 1.1.0 -> 1.2.0
Reported by: portscout
1.1.0_2 11 May 2021 19:49:07
Yuri Victorovich (yuri)
devel/flatbuffers: Update 1.12.0 -> 2.0.0
Reported by: portscout
1.1.0_1 07 Apr 2021 08:09:01
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday.
Reported by: lwhsu
1.1.0_1 06 Apr 2021 14:31:07
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
1.1.0_1 26 Jan 2021 14:01:09
sunpoet
Bump PORTREVISION for devel/protobuf shlib change
1.1.0 06 Nov 2020 21:28:11
yuri
misc/mnn: Update 1.0.0 -> 1.1.0
Reported by: portscout
1.0.0_4 20 Sep 2020 18:14:39
yuri
misc/mnn: Fix build on 13 by unbundling Flatbuffers
The bundled Flatbuffers was failing to build on 13 for some reason.
Reported by: fallout
MFH: 2020Q3
1.0.0_4 30 Aug 2020 20:19:42
sunpoet
Bump PORTREVISION for devel/protobuf shlib change
1.0.0_3 03 Jun 2020 18:32:06
sunpoet
Bump PORTREVISION for devel/protobuf shlib change
1.0.0_2 23 May 2020 17:21:01
yuri
misc/mnn: Fix and improve options (installed apps)
1.0.0_1 23 May 2020 08:55:11
yuri
misc/mnn: Add options for converter, training, tools, etc
1.0.0 17 May 2020 09:48:40
yuri
misc/mnn: Update 0.2.2.3 -> 1.0.0
Reported by: portscout
0.2.2.3 17 Apr 2020 05:24:01
yuri
misc/mnn: Update 0.2.2.2 -> 0.2.2.3
Reported by: portscout
0.2.2.2 07 Apr 2020 21:35:42
yuri
misc/mnn: Update 0.2.2.1 -> 0.2.2.2
Reported by: portscout
0.2.2.1 28 Mar 2020 04:10:43
yuri
misc/mnn: Update 0.2.2.0 -> 0.2.2.1
Reported by: p;ortscout
0.2.2.0 17 Mar 2020 05:55:13
yuri
misc/mnn: Update 0.2.1.9 -> 0.2.2.0
Reported by: portscout
0.2.1.9 13 Mar 2020 16:12:47
yuri
misc/mnn: Update 0.2.1.8 -> 0.2.1.9
Reported by: portscout
0.2.1.8 28 Feb 2020 04:15:05
yuri
misc/mnn: Update 0.2.1.7 -> 0.2.1.8
Reported by: portscout
0.2.1.7_1 18 Jan 2020 18:46:30
yuri
misc/mnn: Update the tarball because it was re-released by the upstream
The previous port update was at 2020-01-16 06:55:46Z, so the previous verion of
this release was made before this time.
This re-release was made, according to GitHub, at 2020-01-17 04:08:00 PST
(2020-01-17 12:08:00Z).
Reported by: fallout
0.2.1.7 16 Jan 2020 06:55:46
yuri
misc/mnn: Update 0.2.1.6 -> 0.2.1.7
Reported by: portscout
0.2.1.6 13 Jan 2020 10:38:34
pkubaj
misc/mnn: fix build on non-x86
Disable AVX and SSE on non-x86 architectures.
PR: 243303
Approved by: yuri (maintainer)
0.2.1.6 02 Jan 2020 08:12:50
yuri
misc/mnn: Broken on i386
Reported by: fallout
0.2.1.6 01 Jan 2020 07:33:06
yuri
misc/mnn: Update 0.2.1.5 -> 0.2.1.6
Reported by: portscout
0.2.1.5 31 Dec 2019 06:46:55
linimon
Fix build on GCC-based systems:
cc1plus: error: unrecognized command line option "-std=c++11"
Approved by: portmgr (tier-2 blanket)
0.2.1.5 29 Dec 2019 18:52:47
yuri
New port: misc/mnn: Lightweight deep neural network inference engine