-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for manual (non-autotools) builds #929
Comments
Sure? I think at least the multimultiplication functions and the scratch space functions are currently unused. |
Now that #1042 has been merged, we need to build multiple modules:
|
This simplifies building without a build system. This is in line with bitcoin-core#925; the paths fixed here were either forgotten there or only introduced later. This commit also makes the Makefile stricter so that further "wrong" #include paths will lead to build errors even in autotools builds. This belongs to bitcoin-core#929.
This simplifies building without a build system. This is in line with bitcoin-core#925; the paths fixed here were either forgotten there or only introduced later. This commit also makes the Makefile stricter so that further "wrong" #include paths will lead to build errors even in autotools builds. This belongs to bitcoin-core#929. Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
This simplifies building without a build system. This is in line with bitcoin-core#925; the paths fixed here were either forgotten there or only introduced later. This commit also makes the Makefile stricter so that further "wrong" #include paths will lead to build errors even in autotools builds. This belongs to bitcoin-core#929. Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
… arguments 40a3473 build: Fix #include "..." paths to get rid of further -I arguments (Tim Ruffing) Pull request description: This simplifies building without a build system. This is in line with #925; the paths fixed here were either forgotten there or only introduced later. This commit also makes the Makefile stricter so that further "wrong" #include paths will lead to build errors even in autotools builds. This belongs to #929. ACKs for top commit: hebasto: ACK 40a3473 Tree-SHA512: 6f4d825ea3cf86b13f294e2ec19fafc29660fa99450e6b579157d7a6e9bdb3404d761edf89c1135fa89b984d6431a527beeb97031dc90f2fae9761528f4d06d1
This simplifies manual builds and solves one item in bitcoin-core#929.
This simplifies building without a build system. This is in line with bitcoin-core#925; the paths fixed here were either forgotten there or only introduced later. This commit also makes the Makefile stricter so that further "wrong" #include paths will lead to build errors even in autotools builds. This belongs to bitcoin-core#929. Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
This simplifies manual builds and solves one item in bitcoin-core#929.
Agreed, both options should be left to the user. When building a shared library, providing the
|
The current method to build a static library manually (using default options) is:
(
clang
also works)The goal is to get rid of most of the command line arguments, at least on GCC and clang:
-DSECP256K1_BUILD
: Define SECP256K1_BUILD in secp256k1.c directly. #928-I
changed include statements without prefix 'include/' #925-D ECMULT_GEN_PREC_BITS=4 -D ECMULT_WINDOW_SIZE=15
: See discussion in Clean up configuration in gen_context #918. We could even print the config using#pragma message
)-D DUSE_EXTERNAL_ASM
: Tracking issue for manual (non-autotools) builds #929 (comment)-Wno-unused-function
: We could add a#pragma
or better add__attribute__ ((unsused))
to the relevant functions.-Wall -Wextra
: We could set this via#pragmas
but maybe we should leave this to the user.-O2
: I think we should really leave this to the user.The text was updated successfully, but these errors were encountered: