tornado
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.beehive-lab</groupId>
<artifactId>tornado</artifactId>
<version>4.0.1-jdk25</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.beehive-lab</groupId>
<artifactId>tornado</artifactId>
<version>4.0.1-jdk25</version>
<packaging>pom</packaging>
<name>tornado</name>
<url>https://github.com/beehive-lab/tornadovm</url>
<description>TornadoVM: A practical heterogeneous programming framework for managed languages</description>
<developers>
<developer>
<id>beehive-lab</id>
<name>Beehive Lab</name>
<email>info@tornadovm.org</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/beehive-lab/tornadovm.git</connection>
<developerConnection>scm:git:https://github.com/beehive-lab/tornadovm.git</developerConnection>
<url>https://github.com/beehive-lab/tornadovm</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
<repository>
<id>central</id>
<url>https://central.sonatype.com/</url>
</repository>
</distributionManagement>
<properties>
<tornado.version>${project.version}</tornado.version>
<tornado.backend>opencl</tornado.backend>
<graalvm.version>25.0.2</graalvm.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<classifier>${platform}</classifier>
<cmake.download>false</cmake.download>
<jmh.version>1.29</jmh.version>
<tornadojmhjar.name>jmhbenchmarks</tornadojmhjar.name>
<checkstyle.config.location>tornado-assembly/src/etc/checkstyle.xml</checkstyle.config.location>
</properties>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>25</source>
<target>25</target>
<annotationProcessorPaths>
<path>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>--enable-preview</arg>
<arg>--add-modules</arg>
<arg>ALL-SYSTEM</arg>
<arg>--add-modules=jdk.incubator.vector</arg>
<arg>--upgrade-module-path</arg>
<arg>${user.dir}/graalJars</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/common-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/opencl-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/ptx-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/spirv-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/metal-exports</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<source>25</source>
<release>25</release>
<skip>false</skip>
<failOnError>false</failOnError>
<!-- Enable preview features -->
<additionalJOptions>
<additionalJOption>--enable-preview</additionalJOption>
<additionalJOption>--add-modules=ALL-SYSTEM</additionalJOption>
<additionalJOption>--add-modules=jdk.incubator.vector</additionalJOption>
</additionalJOptions>
<additionalOptions>
<additionalOption>--enable-preview</additionalOption>
</additionalOptions>
<!-- Avoid breaking the build -->
<failOnError>false</failOnError>
<failOnWarnings>false</failOnWarnings>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<skip>false</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>windows-i386-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<platform>windows-i386</platform>
<build.type>release</build.type>
<cmake.classifier>windows-i386</cmake.classifier>
<cmake.generator>Visual Studio 17 2022</cmake.generator>
<cmake.config>${build.type}</cmake.config>
</properties>
</profile>
<profile>
<id>windows-amd64-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>windows</family>
<arch>amd64</arch>
</os>
</activation>
<properties>
<platform>windows-amd64</platform>
<build.type>release</build.type>
<cmake.classifier>windows-amd64</cmake.classifier>
<cmake.generator>Visual Studio 17 2022</cmake.generator>
<cmake.config>${build.type}</cmake.config>
</properties>
</profile>
<profile>
<id>linux-i386-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>linux</family>
<arch>i386</arch>
</os>
</activation>
<properties>
<platform>linux-i386</platform>
<build.type>release</build.type>
<cmake.classifier>linux-i386</cmake.classifier>
<cmake.generator>Unix Makefiles</cmake.generator>
<cmake.download>false</cmake.download>
</properties>
</profile>
<profile>
<id>linux-amd64-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>linux</family>
<arch>amd64</arch>
</os>
</activation>
<properties>
<platform>linux-amd64</platform>
<build.type>release</build.type>
<cmake.classifier>linux-amd64</cmake.classifier>
<cmake.generator>Unix Makefiles</cmake.generator>
</properties>
</profile>
<profile>
<id>linux-aarch64-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>linux</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<platform>linux-aarch64</platform>
<build.type>release</build.type>
<cmake.classifier>linux-arm</cmake.classifier>
<cmake.generator>Unix Makefiles</cmake.generator>
</properties>
</profile>
<profile>
<id>mac-amd64-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>mac</family>
<arch>x86_64</arch>
</os>
</activation>
<properties>
<platform>mac-amd64</platform>
<build.type>release</build.type>
<cmake.classifier>mac-amd64</cmake.classifier>
<cmake.generator>Unix Makefiles</cmake.generator>
</properties>
</profile>
<profile>
<id>mac-aarch64-release</id>
<activation>
<property>
<name>osDetection</name>
<value>!false</value>
</property>
<os>
<family>mac</family>
<arch>aarch64</arch>
</os>
</activation>
<properties>
<platform>mac-aarch64</platform>
<build.type>release</build.type>
<cmake.classifier>mac-arm</cmake.classifier>
<cmake.generator>Unix Makefiles</cmake.generator>
</properties>
</profile>
<profile>
<id>portable</id>
<!--
Sonatype requires a main jar, even for platform-specific artifacts, so we supply it with an
empty file.
-->
<build>
<plugins>
<plugin>
<groupId>com.googlecode.cmake-maven-project</groupId>
<artifactId>cmake-maven-plugin</artifactId>
<version>3.7.0-b2</version>
<executions>
<execution>
<id>cmake-generate</id>
<phase>none</phase>
</execution>
<execution>
<id>cmake-compile</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<platform>portable</platform>
<build.type>release</build.type>
<classifier/>
</properties>
</profile>
<profile>
<id>jdk25</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<goals>
<goal>check</goal>
</goals>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>25</source>
<target>25</target>
<showDeprecation>true</showDeprecation>
<annotationProcessorPaths>
<path>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>--enable-preview</arg>
<arg>--add-modules</arg>
<arg>ALL-SYSTEM</arg>
<arg>--add-modules=jdk.incubator.vector</arg>
<arg>--upgrade-module-path</arg>
<arg>${user.dir}/graalJars</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/common-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/opencl-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/ptx-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/spirv-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/metal-exports</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>graal-jdk-25</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<source>25</source>
<target>25</target>
<showDeprecation>true</showDeprecation>
<annotationProcessorPaths>
<path>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</path>
</annotationProcessorPaths>
<compilerArgs>
<arg>--enable-preview</arg>
<arg>--add-modules</arg>
<arg>ALL-SYSTEM</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/common-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/opencl-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/ptx-exports</arg>
<arg>@${user.dir}/tornado-assembly/src/etc/exportLists/spirv-exports</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>graalvm-polyglot</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>python</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>ruby</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
<type>pom</type>
</dependency>
</dependencies>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}-${project.version}-${buildNumber}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.11.2</version>
<configuration>
<goals>install</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<descriptors>
<descriptor>assembly.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<finalName>${tornadojmhjar.name}</finalName>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.openjdk.jmh.Main</mainClass>
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
<filters>
<filter>
<!--
Shading signed JARs will fail without this.
http://stackoverflow.com/questions/999489/invalid-signature-file-when-attempting-to-run-a-jar
-->
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.microsoft.onnxruntime</groupId>
<artifactId>onnxruntime</artifactId>
<version>1.17.1</version>
</dependency>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.12.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>8.2.0</version>
<type>jar</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.17.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.25.3</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>${graalvm.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>word</artifactId>
<version>${graalvm.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>collections</artifactId>
<version>${graalvm.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.compiler</groupId>
<artifactId>compiler</artifactId>
<version>25.0.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
<modules>
<module>tornado-runtime</module>
<module>tornado-matrices</module>
<module>tornado-drivers</module>
<module>tornado-examples</module>
<module>tornado-benchmarks</module>
<module>tornado-unittests</module>
<module>tornado-assembly</module>
<module>tornado-api</module>
<module>tornado-annotation</module>
</modules>
</project>