garydgregory commented on pull request #103:
URL: https://github.com/apache/commons-crypto/pull/103#issuecomment-667708876


   On Sun, Aug 2, 2020 at 1:55 PM aremily <[email protected]> wrote:
   
   > There are. The script installs them and they are used for the Linux x86_64
   > build. While developing this script I discovered that one included header
   > file, opensslconf.h, is platform specific and generated by Make during the
   > OpenSSL build process. Unsure whether or not using the opensslconf.h file
   > from the x86_64 build would matter to the JNI libraries for the other
   > platforms, I decided to cross-compile OpenSSL to the Commons Crypto build's
   > target platform and use the opensslconf.h specific to that platform for
   > each build. If that step is unnecessary it would probably shave at least
   > ten minutes off the build.
   >
   
   When Geoffrey Blake helped me set up an Ubuntu 14.04 docker image, we never
   cross-compiled OpenSSL and we got the following working:
   
   mvn -V -DskipTests package -Plinux-linux64
   mvn -V -DskipTests package -Plinux-linux32
   mvn -V -DskipTests package -Plinux-win64
   mvn -V -DskipTests package -Plinux-win32
   mvn -V -DskipTests package -Plinux-aarch64
   
   
   For the Maven profile linux-aarch64, installing the proper
   g++-4.8-aarch64-linux-gnu removed packages cc-multilib and g++-multilib
   such that you had to be done building other binaries before aarch64.
   
   See my email from earlier this week about what to do for Mac binaries.
   
   Gary
   
   
   > On Sun, Aug 2, 2020 at 1:14 PM Gary Gregory <[email protected]>
   > wrote:
   >
   > > I thought there were -dev packages that contain openssl C headers that
   > one
   > > can install with apt-get?
   > >
   > > —
   > > You are receiving this because you authored the thread.
   > > Reply to this email directly, view it on GitHub
   > > <
   > https://github.com/apache/commons-crypto/pull/103#issuecomment-667700615>,
   > > or unsubscribe
   > > <
   > 
https://github.com/notifications/unsubscribe-auth/ABUDY7W26R5M7SYWPQUT3QTR6WNINANCNFSM4PSSOBEQ
   > >
   > > .
   > >
   >
   > —
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/commons-crypto/pull/103#issuecomment-667705278>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AAJB6N3UFLVASK2K4DLDVFTR6WSBZANCNFSM4PSSOBEQ>
   > .
   >
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to