Skip to content

Commit 2970b70

Browse files
committed
Adjust scripts, add script to build without the build number plug-in
1 parent 0d65d79 commit 2970b70

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Graph processing is of increasing interest for many scientific areas and revenue
1313

1414
Want to know more about Graphalytics? Read [our VLDB paper](https://www.vldb.org/pvldb/vol9/p1317-iosup.pdf) and the [specification](https://github.com/ldbc/ldbc_graphalytics_docs).
1515

16-
### Build & Run your first benchmark
16+
### Build & run your first benchmark
1717

1818
The Graphalytics provides platform drivers for the state-of-the-arts graph processing platforms. To start your first benchmark with Graphalytics, we recommend using our reference implementations:
1919
[GraphBLAS](https://github.com/ldbc/ldbc_graphalytics_platforms_graphblas) and
@@ -24,7 +24,17 @@ Our datasets are hosted publicly – see the [Graphalytics website](https://ldbc
2424

2525
LDBC Graphalytics hosts competitions for graph processing platforms. Are you interested in the state-of-the-art performance? To participate, reach out to Gabor Szarnyas and David Puroja. Our email addresses are under `[email protected]`.
2626

27-
### Deploying Maven Artifacts
27+
### Building the project
28+
29+
The project uses the [Build Number Maven plug-in](https://www.mojohaus.org/buildnumber-maven-plugin/) to ensure reproducibility. Hence, builds fail if the local Git repository contains uncommitted changes.
30+
31+
To build & install locally regardless (for testing), run:
32+
33+
```bash
34+
scripts/install-local.sh
35+
```
36+
37+
### Deploying Maven artifacts
2838

2939
We use a manual process for deploying Maven artifacts for the Graphalytics framework.
3040

@@ -33,7 +43,7 @@ We use a manual process for deploying Maven artifacts for the Graphalytics frame
3343
2. In the driver repository, run:
3444

3545
```bash
36-
./package-mvn-artifacts.sh
46+
scripts/package-mvn-artifacts.sh
3747
```
3848

3949
3. Go to the `graphalytics-mvn` directory, check whether the JAR files are correct.

scripts/install-local.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2015 - 2017 Atlarge Research Team,
4+
# operating at Technische Universiteit Delft
5+
# and Vrije Universiteit Amsterdam, the Netherlands.
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
set -eu
21+
set -o pipefail
22+
23+
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
24+
cd ..
25+
26+
mvn clean install -Dmaven.buildNumber.doCheck=false

package-mvn-artifacts.sh renamed to scripts/package-mvn-artifacts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# limitations under the License.
1818
#
1919

20-
2120
set -eu
2221
set -o pipefail
2322

2423
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
24+
cd ..
2525

2626
git clean -xdf .
2727
mvn clean deploy $@

0 commit comments

Comments
 (0)