Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.1, 2.12.10]
scala: [2.13.2, 2.12.10]

container:
image: daunnc/pdal-debian:2.0.1
image: daunnc/pdal-debian:2.1.0

steps:
- name: Checkout
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
strategy:
matrix:
os: [macos-latest]
scala: [2.13.1, 2.12.10]
scala: [2.13.2, 2.12.10]

steps:
- name: Checkout
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.1.5] - 2020-05-16
### Changed
- Update filter.stats [#39](https://github.com/PDAL/java/pull/39)
- Build JNI binaries against PDAL 2.1.0 [#43](https://github.com/PDAL/java/issues/43)

## [2.1.5-RC3] - 2020-03-13
### Fixed
Expand Down Expand Up @@ -104,7 +106,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Moved from the PDAL repo and established own lifecycle.

[Unreleased]: https://github.com/PDAL/java/compare/2.1.5-RC3...HEAD
[Unreleased]: https://github.com/PDAL/java/compare/2.1.5...HEAD
[2.1.5]: https://github.com/PDAL/java/compare/2.1.5-RC3...2.1.5
[2.1.5-RC3]: https://github.com/PDAL/java/compare/2.1.5-RC2...2.1.5-RC3
[2.1.5-RC2]: https://github.com/PDAL/java/compare/2.1.5-RC1...2.1.5-RC2
[2.1.5-RC1]: https://github.com/PDAL/java/compare/2.1.4...2.1.5-RC1
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name := "pdal-jni"

lazy val commonSettings = Seq(
version := "2.1.5" + Environment.versionSuffix,
scalaVersion := "2.13.1",
crossScalaVersions := Seq("2.13.1", "2.12.10", "2.11.12"),
scalaVersion := "2.13.2",
crossScalaVersions := Seq("2.13.2", "2.12.10", "2.11.12"),
organization := "io.pdal",
description := "PDAL JNI bindings",
licenses := Seq("BSD" -> url("https://github.com/PDAL/PDAL/blob/master/LICENSE.txt")),
homepage := Some(url("http://www.pdal.io")),
homepage := Some(url("https://www.pdal.io")),
publishMavenStyle := true,
pomIncludeRepository := { _ => false },
scalacOptions ++= Seq(
Expand Down Expand Up @@ -43,7 +43,7 @@ lazy val commonSettings = Seq(
<developer>
<id>pomadchin</id>
<name>Grigory Pomadchin</name>
<url>http://github.com/pomadchin/</url>
<url>https://github.com/pomadchin/</url>
</developer>
</developers>
),
Expand Down
6 changes: 3 additions & 3 deletions examples/pdal-jni/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name := "pdal-jni"
version := "0.1.0-SNAPSHOT"
scalaVersion := "2.13.1"
crossScalaVersions := Seq("2.13.1", "2.12.10", "2.11.12")
scalaVersion := "2.13.2"
crossScalaVersions := Seq("2.13.2", "2.12.10", "2.11.12")
organization := "com.azavea"
scalacOptions ++= Seq(
"-deprecation",
Expand All @@ -21,7 +21,7 @@ resolvers ++= Seq(

fork := true

val pdalVersion = "2.1.5-RC3"
val pdalVersion = "2.1.5"

libraryDependencies ++= Seq(
"io.pdal" %% "pdal" % pdalVersion,
Expand Down
16 changes: 4 additions & 12 deletions examples/pdal-jni/sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

set -o pipefail

declare -r sbt_release_version="1.3.6"
declare -r sbt_unreleased_version="1.3.6"
declare -r sbt_release_version="1.3.10"
declare -r sbt_unreleased_version="1.3.10"

declare -r latest_213="2.13.1"
declare -r latest_213="2.13.2"
declare -r latest_212="2.12.10"
declare -r latest_211="2.11.12"
declare -r latest_210="2.10.7"
Expand All @@ -24,7 +24,7 @@ declare -r sbt_launch_mvn_release_repo="https://repo.scala-sbt.org/scalasbt/mave
declare -r sbt_launch_mvn_snapshot_repo="https://repo.scala-sbt.org/scalasbt/maven-snapshots"

declare -r default_jvm_opts_common="-Xms512m -Xss2m -XX:MaxInlineLevel=18"
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy -Dsbt.coursier.home=project/.coursier"

declare sbt_jar sbt_dir sbt_create sbt_version sbt_script sbt_new
declare sbt_explicit_version
Expand Down Expand Up @@ -230,14 +230,6 @@ default_jvm_opts() {
fi
}

build_props_scala() {
if [[ -r "$buildProps" ]]; then
versionLine="$(grep '^build.scala.versions' "$buildProps")"
versionString="${versionLine##build.scala.versions=}"
echo "${versionString%% .*}"
fi
}

execRunner() {
# print the arguments one to a line, quoting any containing spaces
vlog "# Executing command line:" && {
Expand Down
16 changes: 4 additions & 12 deletions sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

set -o pipefail

declare -r sbt_release_version="1.3.8"
declare -r sbt_unreleased_version="1.3.8"
declare -r sbt_release_version="1.3.10"
declare -r sbt_unreleased_version="1.3.10"

declare -r latest_213="2.13.1"
declare -r latest_213="2.13.2"
declare -r latest_212="2.12.10"
declare -r latest_211="2.11.12"
declare -r latest_210="2.10.7"
Expand All @@ -24,7 +24,7 @@ declare -r sbt_launch_mvn_release_repo="https://repo.scala-sbt.org/scalasbt/mave
declare -r sbt_launch_mvn_snapshot_repo="https://repo.scala-sbt.org/scalasbt/maven-snapshots"

declare -r default_jvm_opts_common="-Xms512m -Xss2m -XX:MaxInlineLevel=18"
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy"
declare -r noshare_opts="-Dsbt.global.base=project/.sbtboot -Dsbt.boot.directory=project/.boot -Dsbt.ivy.home=project/.ivy -Dsbt.coursier.home=project/.coursier"

declare sbt_jar sbt_dir sbt_create sbt_version sbt_script sbt_new
declare sbt_explicit_version
Expand Down Expand Up @@ -230,14 +230,6 @@ default_jvm_opts() {
fi
}

build_props_scala() {
if [[ -r "$buildProps" ]]; then
versionLine="$(grep '^build.scala.versions' "$buildProps")"
versionString="${versionLine##build.scala.versions=}"
echo "${versionString%% .*}"
fi
}

execRunner() {
# print the arguments one to a line, quoting any containing spaces
vlog "# Executing command line:" && {
Expand Down
2 changes: 1 addition & 1 deletion scripts/crosscompile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docker run -it --rm \
-v $HOME/.ivy2:/root/.ivy2 \
-v $HOME/.sbt:/root/.sbt \
-v $HOME/.coursier/cache:/root/.cache/coursier \
daunnc/pdal-debian:2.0.1 bash -c "cd ./pdal-java; ./scripts/pack-native.sh --suffix=${PDAL_VERSION_SUFFIX}"
daunnc/pdal-debian:2.1.0 bash -c "cd ./pdal-java; ./scripts/pack-native.sh --suffix=${PDAL_VERSION_SUFFIX}"

# docker run -it --rm \
# -v $PWD:/workdir \
Expand Down
5 changes: 3 additions & 2 deletions scripts/publish-211.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ if ${SIGNED}; then
COMMAND=publishSigned
fi

PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" "project core" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" "project core-scala" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" \
"project core" ${COMMAND} \
"project core-scala" ${COMMAND}
5 changes: 3 additions & 2 deletions scripts/publish-212.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ if ${SIGNED}; then
COMMAND=publishSigned
fi

PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" "project core" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" "project core-scala" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" \
"project core" ${COMMAND} \
"project core-scala" ${COMMAND}
6 changes: 4 additions & 2 deletions scripts/publish-local-211.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ done

export PDAL_VERSION_SUFFIX=${PDAL_VERSION_SUFFIX-"-SNAPSHOT"}

PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" "project core" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" "project core-scala" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt "-211" \
"project core" publishLocal \
"project core-scala" publishLocal

./sbt "-211" "project native" publishLocal
6 changes: 4 additions & 2 deletions scripts/publish-local-212.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ done

export PDAL_VERSION_SUFFIX=${PDAL_VERSION_SUFFIX-"-SNAPSHOT"}

PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" "project core" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" "project core-scala" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt "-212" \
"project core" publishLocal \
"project core-scala" publishLocal

./sbt "-212" "project native" publishLocal
6 changes: 4 additions & 2 deletions scripts/publish-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ done

export PDAL_VERSION_SUFFIX=${PDAL_VERSION_SUFFIX-"-SNAPSHOT"}

PDAL_DEPEND_ON_NATIVE=false ./sbt "project core" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt "project core-scala" publishLocal
PDAL_DEPEND_ON_NATIVE=false ./sbt \
"project core" publishLocal \
"project core-scala" publishLocal

./sbt "project native" publishLocal
5 changes: 3 additions & 2 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ if ${SIGNED}; then
COMMAND=publishSigned
fi

PDAL_DEPEND_ON_NATIVE=false ./sbt "project core" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt "project core-scala" ${COMMAND}
PDAL_DEPEND_ON_NATIVE=false ./sbt \
"project core" ${COMMAND} \
"project core-scala" ${COMMAND}