Code Monkey home page Code Monkey logo

libpsf's Introduction

libpsf is a c++ library that reads Cadence PSF waveform files That fork allow using Cmake instead of autoconf. And also fix most of memory leak issue

Install

Install prerequisites --------------------If building without python binding, only cmake and boost are required

- On a debian based system you can run the following to install the packages needed to build libpsf:

$ sudo apt-get install cmake libboost-all-dev python-numpy-dev cython cppunit

  • Otherwise conda can be used to install the following packages:

    $ conda install python numpy cython cmake

    Then install boost libraries and set

    $ export BOOST_LOC=<BOOST_LOCATION>

Build and install

  • From root directory, create build directory

    $ mkdir build && cd build

  • Run cmake configuration

    $ cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=RELEASE -DWITH_PYTHON=ON

    CONDA_PREFIX is the destination where you want libpsf to be installed To build without the python binding, just set -DWITH_PYTHON=OFF

  • Build

    $ cmake --build .

  • To run tests, [cppunit](https://www.freedesktop.org/wiki/Software/cppunit) is required.

    $ ctest

    ctest --verbose to see individual test result outputs

  • Install

    $ cmake --install .

libpsf's People

Contributors

henjo avatar lekez2005 avatar michaelnt avatar alielmorsy avatar taimurrabuske 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.