You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Make sure Intel® QPL library installed into either "/usr/local/lib64" or "/usr/local/lib".
18
+
2. Java 8 or above
18
19
3. Build tools - **g++**, **CMake** and **Maven**
19
20
20
21
@@ -23,24 +24,42 @@ This library assumes the availability of Intel® IAA hardware.
23
24
24
25
For more information about the Intel® In-Memory Analytics Accelerator, refer to the [IAA spec](https://cdrdv2.intel.com/v1/dl/getContent/721858) on the [Intel® 64 and IA-32 Architectures Software Developer Manuals](https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html) page.
25
26
26
-
### STEPS TO BUILD AND RUN TESTS###
27
+
### STEPS TO BUILD ###
27
28
Once all the prerequisites have been satisfied:
28
29
```
29
30
$ git clone https://github.com/intel/qpl-java.git
30
31
$ cd qpl-java
31
-
$ mvn clean
32
-
$ mvn compile
33
-
$ mvn test
34
-
$ mvn package
32
+
$ mvn clean package
35
33
```
36
34
37
35
Available Maven commands include:
38
36
39
37
-`compile` - builds sources
40
38
-`test` - builds and runs tests
39
+
-`site` - generates Surefire report into ```target/site```
41
40
-`javadoc:javadoc` - builds javadocs into ```target/site/apidocs```
42
41
-`package` - builds jar file into ```target``` directory
43
42
43
+
### LIBRARY TESTING ###
44
+
This library supports both functional and Fuzz testing.
45
+
46
+
##### FUNCTIONAL TEST #####
47
+
To run all the functional tests, execute the following command:
48
+
```
49
+
mvn clean test
50
+
```
51
+
##### FUZZ TEST #####
52
+
Jazzer tool is used to enable fuzz testing on this project.
53
+
54
+
see [here](https://github.com/CodeIntelligenceTesting/jazzer/blob/main/CONTRIBUTING.md) for Jazzer dependencies.
55
+
56
+
57
+
To run the Fuzz tests, execute the following command:
58
+
```
59
+
mvn clean test -Dfuzzing=true
60
+
```
61
+
The above command executes each Jazzer Fuzz tests for 10 seconds.
62
+
To run for a longer duration, modify ```-max_total_time``` fuzzParameter in pom.xml
44
63
### USING THIS LIBRARY IN EXISTING JAVA APPLICATIONS ###
45
64
To use this library in your Java application, build the qpl-java jar and include
46
65
its location in your Java classpath. For example:
@@ -64,4 +83,4 @@ For more information on this library, contact Kokoori, Shylaja (shylaja.kokoori@
64
83
65
84
66
85
67
-
><bid="f1">*</b> Java is a registered trademark of Oracle and/or its affiliates.
86
+
><bid="f1">*</b> Java is a registered trademark of Oracle and/or its affiliates.
0 commit comments