-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix typo in clang dockerfile (#1842) * Update PULL_REQUEST_TEMPLATE.md * mingw fixes for bcrypt, suppress depends related warnings (#1847) * Suppress depends related superfluous warnings * Fix passthrough string quote * Fix windres, bcrypt failures * Cleanup build process and workflows (#1851) * Suppress depends related superfluous warnings * Fix passthrough string quote * Fix windres, bcrypt failures * Cleanup build, workflows, dockerfiles * Cleanup comments * Refactor default var setup * Cleanup comments * Add safe_rm_rf and simplify left file list * Fix shellcheck * Fix arm core images * More cleanup, unify packaging, safer rm * Apply default conf across all arch, conf args append * Apply glibc compat only on linux builds * Clean up obsolete comments * Cleanup unmaintained deps, configs and tools (#1855) * Suppress depends related superfluous warnings * Fix passthrough string quote * Fix windres, bcrypt failures * Cleanup build, workflows, dockerfiles * Cleanup comments * Refactor default var setup * Cleanup comments * Add safe_rm_rf and simplify left file list * Fix shellcheck * Fix arm core images * More cleanup, unify packaging, safer rm * Apply default conf across all arch, conf args append * Apply glibc compat only on linux builds * Clean up obsolete comments * Cleanup unmaintained files * Remove install.md * Remove libdeficonsensus dyn lib, defi-wallet * Enable static linking * Revert boost changes * Remove outdated man pages * Remove debian packaging related file * Bump boost min to 1.77, remove obsolete checks * Revert boost config cleanup * More cleanups, nsis, gitian * Remove boost reduce exports change * Cleanup boost obsolete check * Remove wallet tool test * Update toolchains, deps and further cleanup (#1857) * Suppress depends related superfluous warnings * Fix passthrough string quote * Fix windres, bcrypt failures * Cleanup build, workflows, dockerfiles * Cleanup comments * Refactor default var setup * Cleanup comments * Add safe_rm_rf and simplify left file list * Fix shellcheck * Fix arm core images * More cleanup, unify packaging, safer rm * Apply default conf across all arch, conf args append * Apply glibc compat only on linux builds * Clean up obsolete comments * Cleanup unmaintained files * Remove install.md * Remove libdeficonsensus dyn lib, defi-wallet * Enable static linking * Revert boost changes * Remove outdated man pages * Remove debian packaging related file * Bump boost min to 1.77, remove obsolete checks * Revert boost config cleanup * More cleanups, nsis, gitian * Remove boost reduce exports change * Cleanup boost obsolete check * Reorganize scripts, merge share and contrib * Fix docker script * Remove wallet tool test * static libgcc, disable tests and benches on CI builds * Fix CI builds to use consistent compilers * Better consistency in toolchains * Remove cdrkit, libdmg and switch to docker multiplatform base * Update cppcheck version * Switch libdeficonsensus to internal, toolchain cleanups (#1860) * Cleanup deps * Switch libdeficonsensus to an internal lib * Update ubuntu bases * Update darwin llvm to 16, update cctools and all depends (#1862) * Update toolchains * Remove obsolete zeromq patches * Make libtapi path agnostic of version * Update XCode SDK * Rename target to x86_64-apple-darwin * Revert to older behavior of zeromq * Remove superfluous LIBADD * Couple LDFLAGS together * Skip unrecognized flag on clang * Fix unintended quote * Overhaul of build, CI tests and lints, packaging and deps (#1880) * Fix spv out of tree builds * Sync dockerignore and gitignore * Overhaul of builds (to out of tree), deps updates, simplify dockefiles, CI test, lints and more * Uncomment benchmark code, disable with flags instead * Resolve compiler warnings * Fix arm64 crc intrinsics flags * Minor CI updates and docker login fixes * Add `--prefix` into configure to workaround surviving config.sub rechecks * Update ignores (#1888) * Fixes for make.sh undeclared locals and clean-artifacts (#1887) * Fix local decls in make.sh * Fix lints * Actually fix lints * Move rust crate to lib * Fix CI lib path * Fix Cargo fmt * Revert the bench change * Switch to stable toolchain and x64 platform * Fix stable toolchain --------- Co-authored-by: Shoham Chakraborty <[email protected]> Co-authored-by: jouzo <[email protected]>
- Loading branch information
1 parent
5af36f2
commit 5f93587
Showing
53 changed files
with
66 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CARGO ?= cargo | ||
|
||
TARGET ?= $(RUST_TARGET) | ||
TARGET ?= x86_64-unknown-linux-gnu | ||
|
||
.PHONY: | ||
all: build-ain-rs-exports build-ain-grpc | ||
|
||
|
||
# TODO: assumes release builds atm | ||
.PHONY: | ||
build-ain-rs-exports: build-ain-grpc | ||
@cd $(abs_srcdir) && \ | ||
CRATE_CC_NO_DEFAULTS=1 BUILD_DIR="$(abs_builddir)" $(CARGO) build --package ain-rs-exports \ | ||
--release $(if $(TARGET),--target $(TARGET),) --target-dir $(abs_builddir)/target && \ | ||
mkdir -p $(abs_builddir)/gen/{include,lib,src} && \ | ||
cp $(abs_builddir)/target/$(TARGET)/release/libain_rs_exports.a $(abs_builddir)/gen/lib/ && \ | ||
cp $(abs_builddir)/ain_rs_exports.h $(abs_builddir)/gen/include/ && \ | ||
cp $(abs_builddir)/ain_rs_exports.cpp $(abs_builddir)/gen/src/ | ||
|
||
.PHONY: | ||
build-ain-grpc: | ||
@cd $(abs_srcdir) && \ | ||
CRATE_CC_NO_DEFAULTS=1 BUILD_DIR="$(abs_builddir)" $(CARGO) build --package ain-grpc \ | ||
--release $(if $(TARGET),--target $(TARGET),) --target-dir $(abs_builddir) | ||
|
||
.PHONY: | ||
clean-local: | ||
@cd $(abs_srcdir) && \ | ||
$(CARGO) clean --target-dir $(abs_builddir) && \ | ||
rm -rf $(abs_builddir)/gen |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.