New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
PORTNAME= unicorn
|
2020-12-27 21:11:58 +01:00
|
|
|
DISTVERSION= 1.0.2
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
|
|
COMMENT= Unicorn CPU emulator framework
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2017-05-28 00:30:08 +02:00
|
|
|
BROKEN_armv6= fails to compile: 'tcg-target.h' file not found
|
2017-11-30 07:13:34 +01:00
|
|
|
BROKEN_armv7= fails to compile: 'tcg-target.h' file not found
|
2017-05-28 00:30:08 +02:00
|
|
|
BROKEN_mips= fails to compile: 'ICACHE' undeclared (first use in this function)
|
|
|
|
BROKEN_mips64= fails to compile: 'ICACHE' undeclared (first use in this function)
|
2020-12-12 06:24:25 +01:00
|
|
|
BROKEN_riscv64= fails to compile: 'tcg-target.h' file not found
|
|
|
|
|
|
|
|
TEST_DEPENDS= cmocka>0:sysutils/cmocka
|
2017-05-14 01:21:37 +02:00
|
|
|
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= unicorn-engine
|
|
|
|
|
2020-01-18 21:02:00 +01:00
|
|
|
USES= compiler:c11 gmake python:build
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
USE_LDCONFIG= yes
|
2020-01-18 21:02:00 +01:00
|
|
|
BINARY_ALIAS= python=${PYTHON_CMD}
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \
|
2017-04-30 12:45:06 +02:00
|
|
|
SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
V=1
|
|
|
|
TEST_TARGET= test
|
|
|
|
TEST_WRKSRC= ${WRKSRC}/tests/unit
|
2017-02-25 14:09:55 +01:00
|
|
|
_MAKE_JOBS= # MAKE_JOBS_NUMBER is passed via MAKE_ENV
|
|
|
|
# Optimization breaks runtime,
|
|
|
|
# see https://github.com/unicorn-engine/unicorn/issues/356
|
|
|
|
# and https://github.com/unicorn-engine/unicorn/issues/689
|
|
|
|
CFLAGS:= ${CFLAGS:C/-O[1-9]/-O0/g}
|
2017-01-31 04:40:46 +01:00
|
|
|
|
New port: emulators/unicorn
Unicorn is a lightweight, multi-platform, multi-architecture CPU emulator
framework based on QEMU.
Unicorn offers some unparalleled features:
- Multi-architecture: ARM, ARM64 (ARMv8), M68K, MIPS, SPARC, and X86 (16, 32,
64-bit)
- Clean/simple/lightweight/intuitive architecture-neutral API
- Implemented in pure C language, with bindings for Perl, Rust, Ruby, Python,
Java, MSVC, .NET, Go, Delphi/Free Pascal and Haskell.
- Native support for Windows & *nix (with Mac OSX, Linux, *BSD & Solaris
confirmed)
- High performance via Just-In-Time compilation
- Support for fine-grained instrumentation at various levels
- Thread-safety by design
- Distributed under free software license GPLv2
WWW: http://www.unicorn-engine.org/
2016-12-16 07:43:52 +01:00
|
|
|
.include <bsd.port.mk>
|