Git Product home page Git Product logo

zilch's Introduction

Zilch: Clojure ZeroMQ Library

Wha?

Clojure zeromq code for messin’ ‘round

Building

Mac

ZeroMQ
Install XCodeInstall Java Developer Package (needed for JNI)Install HomebrewHack pkg-config for mac
brew install pkg-config
sudo ln -sf /usr/local/share/aclocal/pkg.m4 /usr/share/aclocal/
  
Install ZeroMQ
git clone https://github.com/zeromq/libzmq
cd libzmq
./autogen.sh
FLAGS="-arch i386" CFLAGS="$CFLAGS ${FLAGS}" CXXFLAGS="$CXXFLAGS ${FLAGS}" \
    ./configure --disable-dependency-tracking
make
mv src/.libs/libzmq.1.dylib libzmq.32.dylib
make clean
FLAGS="-arch x86_64" CFLAGS="$CFLAGS ${FLAGS}" CXXFLAGS="$CXXFLAGS ${FLAGS}" \
    ./configure --disable-dependency-tracking
make
mv src/.libs/libzmq.1.dylib libzmq.64.dylib
lipo -create libzmq.32.dylib libzmq.64.dylib -output src/.libs/libzmq.1.dylib
make install
  
Install JZMQ
git clone http://github.com/zeromq/jzmq.git
cd jzmq
./autogen.sh
JAVA_HOME=$(/usr/libexec/java_home) \
    ./configure --disable-dependency-tracking
make && make install
mvn deploy:deploy-file \
    -Durl=file:///${HOME}/.m2/repository \
    -Dfile=/usr/local/share/java/zmq.jar \
    -DgroupId=org.zeromq \
    -DartifactId=zmq \
    -Dversion=2.0-SNAPSHOT \
    -Dpackaging=jar
  

Test

lein test

Use

See test/ code for examples

zilch's People

Contributors

dysinger avatar mpenet avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.