Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Alex Remily
Yeah. There's a couple tickets that could probably be subsumed by a new one. I'll have a look. On Thu, Jun 16, 2022 at 8:04 PM Gilles Sadowski wrote: > Hello. > > Le jeu. 16 juin 2022 à 19:36, Alex Remily a écrit > : > > > > Do you think we could simply use CRYPTO-120 > >

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Gilles Sadowski
Hello. Le jeu. 16 juin 2022 à 19:36, Alex Remily a écrit : > > Do you think we could simply use CRYPTO-120 > ? Maybe. Or open a new one with an up-to-date description, and signal that it replaces old/obsolete reports... Gilles > On Thu, Jun

Re: [Crypto] What is it ?

2022-06-16 Thread sebb
On Thu, 16 Jun 2022 at 22:07, Alex Remily wrote: > > sebb, > > Thanks for taking the time to test it out and provide feedback. Much > appreciated. My thoughts below. > > container and it's not obvious how to extract it.> > > Good point. I could modify the script to dump the final artifact in

Re: [Crypto] What is it ?

2022-06-16 Thread Alex Remily
sebb, Thanks for taking the time to test it out and provide feedback. Much appreciated. My thoughts below. Good point. I could modify the script to dump the final artifact in the project root directory. That link is static to that release and won't change with new updates. The directory

Re: [Crypto] What is it ?

2022-06-16 Thread sebb
On Thu, 16 Jun 2022 at 21:47, Alex Remily wrote: > > I think that's a great idea, assuming as Gary pointed out that using a > MacVM for the build is legal (and I can't imagine AWS offering that service > if it wasn't). But is it OK to build ASF releases on GH rather than developer systems? >

Re: [Crypto] What is it ?

2022-06-16 Thread Alex Remily
I think that's a great idea, assuming as Gary pointed out that using a MacVM for the build is legal (and I can't imagine AWS offering that service if it wasn't). Use the MacVM as the host OS. Run the Mac build locally, then run the dockerfile for the balance of the builds. The Windows and Linux

Re: [Crypto] What is it ?

2022-06-16 Thread sebb
Could the native bits be extracted from the various GH builds and used to pre-populate the release build? Would that be allowed, given that builds are normally done on developer systems? Sebb On Thu, 16 Jun 2022 at 21:25, Gary Gregory wrote: > > Sure, but we are not quite set up for releasing

Re: [Crypto] What is it ?

2022-06-16 Thread Gary Gregory
Sure, but we are not quite set up for releasing from GH, soon maybe... On Thu, Jun 16, 2022, 15:51 Matt Sicker wrote: > AWS offers macOS VMs. GitHub Actions support macOS which presumably uses > something similar. I don’t think Apple offers an equivalent service, but > there are more companies

Re: [Crypto] What is it ?

2022-06-16 Thread Matt Sicker
AWS offers macOS VMs. GitHub Actions support macOS which presumably uses something similar. I don’t think Apple offers an equivalent service, but there are more companies that do offer macOS VMs in the cloud. — Matt Sicker > On Jun 16, 2022, at 12:05, Jochen Wiedmann wrote: > > On Wed, Jun

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Gary Gregory
I don't think you can do a "full" build with one Docker file. The premise I had back when I did the release, IIRC, was that the macOS binaries had to be built on real mac hardware to be legal. I think I built the Windows binaries on a real Windows PC hardware too and then merged everything

Re: [Crypto] What is it ?

2022-06-16 Thread sebb
On Thu, 16 Jun 2022 at 18:21, Alex Remily wrote: > > Forwarding to the community dev list. Didn't realize it was dropped along > the way. > > Alex > > -- Forwarded message - > From: Alex Remily > Date: Thu, Jun 16, 2022 at 1:01 PM > Subject: Re: [Crypto] What is it ? > To: Jochen

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Alex Remily
Right. Thanks for the pointer. Ran a quick test on some of the build profiles, and dockerfile-luw is missing dependencies for some of the linux builds, for example: [exec] /bin/sh: 1: aarch64-linux-gnu-gcc: not found That should be an easy fix that I'm happy to do, but to the larger question

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread sebb
On Thu, 16 Jun 2022 at 18:18, Alex Remily wrote: > > I just ran [2], and whatever it does, it doesn't appear to do a build of > commons-crypto. That's correct; all it does is set up the environment. You have to then run Maven in the container. > I'd appreciate it if any developers who have the

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Alex Remily
Do you think we could simply use CRYPTO-120 ? On Thu, Jun 16, 2022 at 1:31 PM Gilles Sadowski wrote: > Hello. > > Since there is an issue to be solved, could you file a report on JIRA? > [And post there patches or new files, and instructions.] >

Re: [Crypto] What is it ?

2022-06-16 Thread Gary Gregory
I created the docker file at the time I did the last release. Gary On Thu, Jun 16, 2022, 12:56 Jochen Wiedmann wrote: > Hi, > > @Gary Gregory: Could you, please, take a look into this? > > Thanks, > > Jochen > > > > On Wed, Jun 15, 2022 at 4:51 PM Alex Remily wrote: > > > > Jochen, > > > > I

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Gilles Sadowski
Hello. Since there is an issue to be solved, could you file a report on JIRA? [And post there patches or new files, and instructions.] Thanks, Gilles Le jeu. 16 juin 2022 à 19:18, Alex Remily a écrit : > > I just ran [2], and whatever it does, it doesn't appear to do a build of >

Fwd: [Crypto] What is it ?

2022-06-16 Thread Alex Remily
Forwarding to the community dev list. Didn't realize it was dropped along the way. Alex -- Forwarded message - From: Alex Remily Date: Thu, Jun 16, 2022 at 1:01 PM Subject: Re: [Crypto] What is it ? To: Jochen Wiedmann Jochen, Please give my attempt at a docker build a try.

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Alex Remily
I just ran [2], and whatever it does, it doesn't appear to do a build of commons-crypto. I'd appreciate it if any developers who have the time would take a look at the dockerfile here: https://github.com/aremily/commons-crypto If you're copying the dockerfile into your own fork, you'll need the

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Alex Remily
Interesting. Since I just finished up writing yet a third dockerfile, I'll try running both of them and see what happens. Hopefully, one of them was used to perform the last release and we can just update the build documentation to reflect. On Thu, Jun 16, 2022 at 1:00 PM sebb wrote: > As the

Re: [CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread Jochen Wiedmann
On Thu, Jun 16, 2022 at 7:00 PM sebb wrote: > [1] src/docker/Dockerfile > [2] src/conf/Docker/Dockerfile-luw Have to admit, that I wasn't aware of [2], when I created [1]. Mine is incomplete, and can easily be removed. Was basically just an attempt to reproduce the build instructions in the

Re: [Crypto] What is it ?

2022-06-16 Thread Jochen Wiedmann
On Wed, Jun 15, 2022 at 6:33 PM Matt Sicker wrote: > > We could always request a Windows VM from Infra if necessary for building > releases. Same for a Mac VM or Linux VM, though the Linux one can be done > fairly easily via Docker on any OS (even FreeBSD supports Linux containers > now).

Re: [Crypto] What is it ?

2022-06-16 Thread Jochen Wiedmann
On Thu, Jun 16, 2022 at 1:03 AM sebb wrote: > But unless one can host macOS on Windows or vice-versa, AFAICT it will > still require two hosts to generate a release. Well, that's the advantage of your suggestion to release the binaries separately. Jochen

[CRYPTO] Multiple Docker files - are they both needed?

2022-06-16 Thread sebb
As the subject says: are the following both needed? [1] src/docker/Dockerfile [2] src/conf/Docker/Dockerfile-luw [1] uses a more recent version of ubuntu, but every install runs as a separate step, which increases resource usage [2] uses quite an old Ubuntu, and has a non-standard file name Can

Re: [Crypto] What is it ?

2022-06-16 Thread Jochen Wiedmann
Hi, @Gary Gregory: Could you, please, take a look into this? Thanks, Jochen On Wed, Jun 15, 2022 at 4:51 PM Alex Remily wrote: > > Jochen, > > I went in and had a look, and the current dockerfile doesn't appear to be the > one we used to do the last release build. Perhaps Gary can find it

Re: [numbers][gsoc] GSoC 2022 - NUMBERS-186 Proposal

2022-06-16 Thread Sumanth Rajkumar
> EjML functional interface looks like this > > void apply(ComplexDouble in, MutableComplexDouble out) > Similar to the mutable cursor idea we have been discussing. The Mutable object could be an interface? Ok We may need to have more than one implementation of the underlying storage. Using