forked from jelmerk/hnswlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crossbuild.sh
executable file
·56 lines (35 loc) · 1.29 KB
/
crossbuild.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env bash
set -e
function cleanup()
{
git checkout ./hnswlib-scala/pom.xml
git checkout ./hnswlib-spark/pom.xml
}
trap cleanup EXIT
ARGS=$*
mvn $ARGS -N
mvn $ARGS -pl hnswlib-utils
mvn $ARGS -pl hnswlib-core
mvn $ARGS -pl hnswlib-metrics-dropwizard
mvn $ARGS -pl hnswlib-core-jdk17
cp ./hnswlib-scala/pom-scala-2_11.xml ./hnswlib-scala/pom.xml
mvn $ARGS -pl hnswlib-scala
cp ./hnswlib-scala/pom-scala-2_12.xml ./hnswlib-scala/pom.xml
mvn $ARGS -pl hnswlib-scala
cp ./hnswlib-scala/pom-scala-2_13.xml ./hnswlib-scala/pom.xml
mvn $ARGS -pl hnswlib-scala
cp ./hnswlib-spark/pom-spark-2.3-scala-2_11.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-2.4-scala-2_11.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-2.4-scala-2_12.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-3.0-scala-2_12.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-3.1-scala-2_12.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-3.2-scala-2_12.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
cp ./hnswlib-spark/pom-spark-3.3-scala-2_12.xml ./hnswlib-spark/pom.xml
mvn $ARGS -pl hnswlib-spark
mvn $ARGS -pl hnswlib-examples