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


   Thanks for the response, Gary.  I know you've been busy lately with all the
   builds I've seen going out and I appreciate your time.  I'll modify the
   script to use the opensslconf.h from the base system for all the cross
   builds.
   
   Regarding the Mac build, the only related email I've seen is one from you
   to the community inquiring into the process of obtaining binaries from
   outside sources.  If the Mac build is still an open issue I'll look into
   including it in the Dockerfile.
   
   Alex
   
   On Sun, Aug 2, 2020 at 2:31 PM Gary Gregory <[email protected]>
   wrote:
   
   > 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
   > >
   > > .
   > >
   >
   > —
   > 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-667708876>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/ABUDY7UTLWL27YUVZB3CR4LR6WWGRANCNFSM4PSSOBEQ>
   > .
   >
   


----------------------------------------------------------------
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