Skip to content

Commit b69aaf5

Browse files
committed
Add AOL properties for ppc64le.Linux.gpp.
Christoph Berg submitted these properties upstream as a nar-maven-plugin pull request, but as long as that is not merged yet, may as well have the file here in case anyone needs it.
1 parent 0a11635 commit b69aaf5

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
##
2+
# AOL properties for compilation on Linux ppc64le
3+
# using the GNU tools. From Christoph Berg, not in upstream NAR plugin yet:
4+
# https://github.com/maven-nar/nar-maven-plugin/pull/328/files
5+
#
6+
# To use these definitions, add -Dnar.aolProperties=path/to/this/file
7+
# on the mvn command line.
8+
##
9+
10+
#
11+
# PPC64LE Linux
12+
#
13+
ppc64le.Linux.linker=g++
14+
15+
ppc64le.Linux.gpp.cpp.compiler=g++
16+
ppc64le.Linux.gpp.cpp.defines=Linux GNU_GCC
17+
ppc64le.Linux.gpp.cpp.options=-Wall -Wno-long-long -Wpointer-arith -Wconversion -fPIC -m64
18+
ppc64le.Linux.gpp.cpp.includes=**/*.cc **/*.cpp **/*.cxx
19+
ppc64le.Linux.gpp.cpp.excludes=
20+
21+
ppc64le.Linux.gpp.c.compiler=gcc
22+
ppc64le.Linux.gpp.c.defines=Linux GNU_GCC
23+
ppc64le.Linux.gpp.c.options=-Wall -Wno-long-long -Wpointer-arith -Wconversion -fPIC -m64
24+
ppc64le.Linux.gpp.c.includes=**/*.c
25+
ppc64le.Linux.gpp.c.excludes=
26+
27+
ppc64le.Linux.gpp.fortran.compiler=gfortran
28+
ppc64le.Linux.gpp.fortran.defines=Linux GNU_GCC
29+
ppc64le.Linux.gpp.fortran.options=-Wall
30+
ppc64le.Linux.gpp.fortran.includes=**/*.f **/*.for **/*.f90
31+
ppc64le.Linux.gpp.fortran.excludes=
32+
33+
ppc64le.Linux.gpp.java.include=include;include/linux
34+
ppc64le.Linux.gpp.java.runtimeDirectory=jre/lib/ppc64le/server
35+
36+
ppc64le.Linux.gpp.lib.prefix=lib
37+
ppc64le.Linux.gpp.shared.prefix=lib
38+
ppc64le.Linux.gpp.static.extension=a
39+
ppc64le.Linux.gpp.shared.extension=so*
40+
ppc64le.Linux.gpp.plugin.extension=so
41+
ppc64le.Linux.gpp.jni.extension=so
42+
ppc64le.Linux.gpp.executable.extension=
43+
44+
# FIXME to be removed when NAR-6
45+
ppc64le.Linux.gcc.static.extension=a
46+
ppc64le.Linux.gcc.shared.extension=so*
47+
ppc64le.Linux.gcc.plugin.extension=so
48+
ppc64le.Linux.gcc.jni.extension=so

src/site/markdown/build/build.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Please review any of the following that apply to your situation:
7878
* Building on [Mac OS X](macosx.html)
7979
* Building on [Solaris](solaris.html)
8080
* Building on [Ubuntu](ubuntu.html)
81+
* Building on [Linux `ppc64le`](ppc64le-linux-gpp.html)
8182
* Building on Microsoft Windows: [with Visual Studio](buildmsvc.html)
8283
| [with MinGW-w64](mingw64.html)
8384
* Building on an EnterpriseDB PostgreSQL distribution that bundles system
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Building on Linux ppc64le with GNU tools
2+
3+
Until the `nar-maven-plugin` upstream has architecture-os-linker entries
4+
for `ppc64le.Linux.gpp`, the `pljava-so` project directory
5+
contains an extra settings file `aol.ppc64le-linux-gpp.properties`. To use it,
6+
add `-Dnar.aolProperties=pljava-so/aol.ppc64le-linux-gpp.properties`
7+
to the `mvn` command line:
8+
9+
mvn -Dnar.aolProperties=pljava-so/aol.ppc64le-linux-gpp.properties clean install

0 commit comments

Comments
 (0)