Skip to content

Conversation

@asfernandes
Copy link
Member

Can please someone adjust Windows build?

I've used subset of libtomcrypt (public domain, same people from libtommath) disabling assembly for portability.

@asfernandes
Copy link
Member Author

Algorithms imported: MD5, SHA1, SHA256, SHA512.

@hvlad
Copy link
Member

hvlad commented Jul 24, 2017

Windows build is OK now

@asfernandes
Copy link
Member Author

@hvlad thank you!

@asfernandes
Copy link
Member Author

Build is consistently failing (segfault executing our code) in travis with g++ 4.8.4. @AlexPeshkoff is this compiler version supported by us? The only thing I could imagine is failing is the usage of lambda and std::function.

@asfernandes asfernandes merged commit 55c35b7 into master Jul 25, 2017
@asfernandes asfernandes deleted the work/core-4436-hash branch July 25, 2017 16:09
@dyemanov
Copy link
Member

Adriano, we have libtommath inside /extern (as other non-FB-mastered code) but you have imported libtomcrypt into /common. I believe this violates project rules for external libraries. Could you please re-consider this location.

@asfernandes
Copy link
Member Author

Ok, will change it.

@asfernandes
Copy link
Member Author

There is an important thing to decide, as extern usage is not standard for all packages.

Should libtomcrypt be used as libicu and libtommath (in extern only for Windows and rely on OS installed library for POSIX)?

Or should it be like decNumber and used for both?

@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented Sep 4, 2017 via email

@asfernandes
Copy link
Member Author

Initial idea was to import subset of files important for us. It was added to src/common and integrated in the build.

Following libtommath, the extern files for libtomcrypt will generally not be important in common Linux build. It will use OS files.

So what should I do? Just move the current common/tomcrypt files to extern and add a custom Windows build? Or add full (or not) libtomcrypt?

Libtommath seems to be imported partially.

zlib and icu was added as compressed exe.

So much standards for the same thing. Since I do not do Windows build anymore for a long time, I have no idea how should it be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants