Coder Social home page Coder Social logo

shayan-taheri / abc-zz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from berkeley-abc/abc-zz

0.0 0.0 0.0 13.55 MB

Niklas Een's ABC/ZZ framework

License: Other

Shell 0.02% C++ 13.89% Python 0.04% C 85.52% Makefile 0.04% HTML 0.42% CMake 0.07%

abc-zz's Introduction

.github/workflows/build.yml

The ZZ framework uses CMake to build the system.

  • Create a new directory 'build' under the abc-zz main directory

    mkdir build cd build

  • Run CMake

    cmake ..

  • Build the target you are interested in (e.g. bip.exe)

    make bip.exe (builds the bip executable) make Bip (build the Bip library and its dependencies) make Bip-pic (build the Bip library and its dependencies with -fPIC) make Bip-exe (build all exectuables in module Bip)

    make zz_all (builds all libraries and executables) make zz_pic (build all libraries with -fPIC) make zz_static (build all static libraries)

Build ZZ requires the following:

  • CMake version 3.8 or above
  • Python 2.7s (or later)
  • Developer header files and libraries for 'zlib' (e.g. zlib1g-dev package on Ubuntu)

Recommended:

  • GNU Readline developer header files and libraries (e.g. readline-dev on Ubuntu)
  • libpng developer header files and libraries (e.g. libpng12-dev on Ubuntu)

Windows

Building on Windows is more complicated. The simplest way is to use vcpkg to gather the dependencies.

Vcpkg

Clone the repository

git clone https://github.com/Microsoft/vcpkg

Change into the vcpkg directory, and bootstrap

cd vcpkg
./bootstrap-vcpkg.bat

Install the relevant pacakges

./vcpkg.exe install dirent:x64-windows-static-md zlib:x64-windows-static-md

Create a build directory

cd ../
mkdir build
cd build

Configure

cmake \
    -G "Visual Studio 15 2017 Win64" \
    -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake \
    -DVCPKG_TARGET_TRIPLET=x64-windows-static-md \
    \
    .. 

Build

cmake --build .

abc-zz's People

Contributors

alanminko avatar niklaseen avatar sterin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.