Build linux-ppc64le native library, with usrsctp tag c1d6cb3bf4344e01e7d0b3157f4e7103d55b0fbf #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here are binaries for GNU/Linux ppc64-little-endian systems, built on my Debian 12 ppc64le machine.
Here are notes on how I built them:
First I cloned
usrsctp
into theusrsctp
directory and checked out revisionc1d6cb3bf4344e01e7d0b3157f4e7103d55b0fbf
.Then I created the target directory:
mkdir -p jniwrapper/native/src/main/resources/lib/linux-ppc64le
otherwise the
mvn package
step would fail with:Then I ran:
mvn package -DbuildSctp -DbuildNativeWrapper -DdeployNewJnilib
which built the library then failed with:
At this point, I could have re-run the same
mvn package
command and it would have found the shared library. Instead, I did:cp -a jniwrapper/native/src/main/resources/lib/linux-ppc64le jniwrapper/native/src/main/resources/lib/linux-ppc64el
to support Ubuntu systems that may refer to "ppc64le" as "ppc64el".
Then I re-ran:
mvn package -DbuildSctp -DbuildNativeWrapper -DdeployNewJnilib
and it found both the linux-ppc64le and linux-ppc64el directories and included them in the jars.
I noticed that paths including my home directory got leaked into libjnisctp.so, so it may be good to rebuild the ppc64-little-endian libjnisctp.so on an official ppc64le or ppc64el Jitsi build server.