Skip to content

Does the amalgamation have to be regenerated per platform/compiler? #4323

Closed Answered by reneme
ethindp asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps that documentation chapter answers your question: https://botan.randombit.net/handbook/building.html#amalgamation

The library will as usual be configured to target some specific operating system and CPU architecture. You can use the CPU target “generic” if you need to target multiple CPU architectures, but this has the effect of disabling all CPU specific features such as SIMD, AES instruction sets, or inline assembly. If you need to ship amalgamations for multiple targets, it would be better to create different amalgamation files for each individual target.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ethindp
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants