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
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= unicorn
|
2017-04-30 12:45:06 +02:00
|
|
|
PORTVERSION= 1.0.1
|
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
|
|
|
|
|
|
|
|
TEST_DEPENDS= cmocka>0:sysutils/cmocka
|
|
|
|
|
2017-05-14 01:21:37 +02:00
|
|
|
BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
|
|
|
|
|
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
|
|
|
|
|
2017-02-25 14:09:55 +01:00
|
|
|
USES= gmake python:2.7,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
|
|
|
|
MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \
|
|
|
|
UNICORN_QEMU_FLAGS=--python=${PYTHON_CMD} \
|
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>
|