1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 2 <!--Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
 3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 4 
 5 This code is free software; you can redistribute it and/or modify it
 6 under the terms of the GNU General Public License version 2 only, as
 7 published by the Free Software Foundation.  Oracle designates this
 8 particular file as subject to the "Classpath" exception as provided
 9 by Oracle in the LICENSE file that accompanied this code.
10 
11 This code is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 version 2 for more details (a copy is included in the LICENSE file that
15 accompanied this code).
16 
17 You should have received a copy of the GNU General Public License version
18 2 along with this work; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 
21 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 or visit www.oracle.com if you need additional information or have any
23 questions.
24 --><project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0">
25     <!--Auto generated by mkpoms-->
26     <modelVersion>4.0.0</modelVersion>
27     <packaging>pom</packaging>
28     <groupId>oracle.code</groupId>
29     <artifactId>hat-backends-ffi</artifactId>
30     <version>1.0</version>
31     <parent>
32         <groupId>oracle.code</groupId>
33         <artifactId>hat-backends</artifactId>
34         <version>1.0</version>
35     </parent>
36     <dependencies>
37         <dependency>
38             <groupId>oracle.code</groupId>
39             <artifactId>hat</artifactId>
40             <version>1.0</version>
41         </dependency>
42     </dependencies>
43     <modules>
44         <module>ptx</module>
45         <module>cuda</module>
46         <module>mock</module>
47         <module>opencl</module>
48     </modules>
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.codehaus.mojo</groupId>
53                 <artifactId>exec-maven-plugin</artifactId>
54                 <version>3.1.0</version>
55                 <executions>
56                     <execution>
57                         <id>1</id>
58                         <phase>compile</phase>
59                         <goals>
60                             <goal>exec</goal>
61                         </goals>
62                         <configuration>
63                             <executable>cmake</executable>
64                             <arguments>
65                                 <argument>-DHAT_TARGET=${hat.build}</argument>
66                                 <argument>-B</argument>
67                                 <argument>${hat.build}/cmake-build-debug</argument>
68                             </arguments>
69                         </configuration>
70                     </execution>
71                     <execution>
72                         <id>2</id>
73                         <phase>install</phase>
74                         <goals>
75                             <goal>exec</goal>
76                         </goals>
77                         <configuration>
78                             <executable>cmake</executable>
79                             <arguments>
80                                 <argument>--build</argument>
81                                 <argument>${hat.build}/cmake-build-debug</argument>
82                             </arguments>
83                         </configuration>
84                     </execution>
85                 </executions>
86             </plugin>
87         </plugins>
88     </build>
89 </project>