/asakusafw-m3bp

Asakusa on M3BP

Primary LanguageJavaApache License 2.0Apache-2.0

Asakusa on M3BP

Asakusa on M3BP provides facilities that make Asakusa batch applications run on M3 for Batch Processing.

This project includes the followings:

  • Asakusa on M3BP Compiler
  • Asakusa on M3BP Runtime
  • Asakusa on M3BP Gradle plug-in

How to build

  • requirements
    • building Java libraries
      • Java SE Development Kit (>= 1.8)
    • building native libraries
      • CMake (>= 2.8)
      • Make
      • GCC-C++ for Linux x86_64 (>= 4.5)
      • Boost C++ Libraries (= 1.60.0)
      • hwloc (>= 1.8)

Maven artifacts

git submodule update --init
./mvnw clean install -Pnative [-DskipTests]
  • other available options
    • -Pnative-test
    • -DCMAKE_BUILD_TYPE=Debug
    • -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain.cmake
    • -Dmake.parallel=N-of-threads

Gradle plug-ins

cd gradle
./gradlew clean build [install] [-PmavenLocal]

How to use

  • requirements
    • Java SE Development Kit >= 1.8
    • CMake >= 2.8
    • Make
    • GCC-C++ = framework required version
    • hwloc = framework required version

Gradle build script example

group '<your-group>'

buildscript {
    repositories {
        ...
    }
    dependencies {
        classpath 'com.asakusafw.m3bp:asakusa-m3bp-gradle:<project-version>'
    }
}

apply plugin: 'asakusafw-sdk'
apply plugin: 'asakusafw-organizer'
apply plugin: 'asakusafw-m3bp'
...

Referred Projects

Resources

License