Skip to content

Commit

Permalink
Update build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreRasurae authored and Luís Mendes committed Mar 20, 2024
1 parent ac0134d commit 3f5623d
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,41 @@ A Particle Imaging Velocimetry (PIV) and Dense PIV Software Laboratory with GPGP

# Compilation
- Pre-requisites:
Java development kit higher than 8, maven, aparapi-3.0.1_LM2.jar, QuickLabPIV-libs

https://github.com/CoreRasurae/aparapi/releases/tag/Aparapi_v3.0.1LM2
Java development kit higher than 8, maven, QuickLabPIV-libs, Aparapi

https://github.com/CoreRasurae/QuickLabPIV-libs/releases/tag/QuickLabPIV-libs_v0.1.0

- (Temporary workaround - before official release of new Aparapi version in maven central) -
Package generation instructions:

Step 1 - Install aparapi-3.0.1_LM2.jar in a local maven repository under current folder / mavenLM
https://git.cleverthis.com/cleverthis/aparapi/aparapi

```mvn install:install-file -Dfile=<PATH_TO_JAR>/aparapi-3.0.1_LM2.jar -DlocalRepositoryPath=<BASE_DIR>/mavenLM -DgroupId=com.aparapi -DartifactId=aparapi -Dversion=3.0.1-LM -Dpackaging=jar```
Package generation instructions:

Step 2 - Compile QuickLab-libs
Step 1 - Compile QuickLab-libs

```mvn package```

Step 3 - Install QuickLab-libs
Step 2 - Install QuickLab-libs

```mvn install:install-file -Dfile=<PATH_TO_JAR>/QuickLabPIV-libs.jar -DlocalRepositoryPath=<BASE_DIR>/mavenLM -DgroupId=pt.quickLabPIV.libs -DartifactId=quickLabPIV-libs -Dversion=0.1.0-LM -Dpackaging=jar```

Step 4 - Adjust mavenLM local repository folder in pom.xml
Step 3 - Adjust mavenLM local repository folder in pom.xml, by updating the url to the correct path
```
<repository>
<id>mavenLM</id>
<url>file:///mavenLM</url>
<url>file:///mavenLM</url>
</repository>
```

Step 5 - Adjust mavenLM version for aparapi if required
Step 4 - Adjust version for Aparapi if required
```
<!-- https://mvnrepository.com/artifact/com.aparapi/aparapi -->
<dependency>
<groupId>com.aparapi</groupId>
<artifactId>aparapi</artifactId>
<version>3.0.1_SNAP</version>
<version>3.0.2</version>
</dependency>
```

Step 6 - Compile QuickLab
Step 5 - Compile QuickLab

```mvn package```

Expand Down

0 comments on commit 3f5623d

Please sign in to comment.