* cleanup patches
* fix polyseed patch
* Fix iOS builds
* fix polyseed dependencies
* fix polyseed patch for macOS
* update ledger patch
* update wownero patches and version
* update checksums
* wip"
* update gitmodules
* update boost build script
* update build_single.sh
* vix verbosey_copy
* fix __clear_cache bug on wownero
* update randomwow
* migrate build system
* fix cross compilation issues
* some more build issue
* update polyseed
* cleanup cmakelists
* fix toolchain.cmake.in
* add ssp
* another attempt at building windows on CI
* fix package name
* migrate mirror to my own hosting
* change download mirror priority (fallback first)
* link ssp in monero module as well by using CMAKE_{C,CXX}_FLAGS
* fix android builds
* update polyseed source
* 13 -> trixie
* fix package name conflicts, update runner to sid
* update boost to 1_84_0, disable patch that's no longer needed
* switch to ubuntu:24.04
* add POLYSEED_STATIC to toolchain.cmake.in in order to properly link
* drop patches
* fixes to darwin
* link missing wowner-seed library
* a litte bit more of experiments
* build locale only on windows
* update iconv
* update definitions
* update ci builds
* update my progress
* ios fix, update depends, ci
* multithread build system
* fix android, mingw and linux build issues
* remove dependency check
* update Dockerfile to include pigz
* show a message when pigz is missing
* fix devcontainer mingw setup (missing ENV)
* update android build runner
* sailfishos dropped (you better go behave yourself and run actual linux programs)
* fiz pigz issues
* install llvm-ranlib for android
* fix iOS build issues
* fix dummy ledger patch
* fix macos and darwin
* fix macos ci
* fix macos build command
* install autoconf
* add automake
* add libtool
* macos fixes, wownero fixes, idk what else, please help me
* fix wownero iOS build
* Cleanup patches
* add try-catch into monero code
* fix error handling
* update checksums
40 lines
1.7 KiB
Makefile
40 lines
1.7 KiB
Makefile
package=gtest
|
|
$(package)_version=1.8.1
|
|
$(package)_download_path=https://github.com/google/googletest/archive/
|
|
$(package)_download_file=release-$($(package)_version).tar.gz
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=9bf1fe5182a604b4135edc1a425ae356c9ad15e9b23f9f12a02e80184c3a249c
|
|
$(package)_cxxflags=-std=c++11
|
|
$(package)_cxxflags_linux=-fPIC
|
|
|
|
define $(package)_config_cmds
|
|
cd googletest && \
|
|
CC="$(host_prefix)/native/bin/$($(package)_cc)" \
|
|
CXX="$(host_prefix)/native/bin/$($(package)_cxx)" \
|
|
AR="$(host_prefix)/native/bin/$($(package)_ar)" \
|
|
RANLIB="$(host_prefix)/native/bin/$($(package)_ranlib)" \
|
|
LIBTOOL="$(host_prefix)/native/bin/$($(package)_libtool)" \
|
|
CXXFLAGS="$($(package)_cxxflags)" \
|
|
CCFLAGS="$($(package)_ccflags)" \
|
|
CPPFLAGS="$($(package)_cppflags)" \
|
|
CFLAGS="$($(package)_cflags) $($(package)_cppflags)" \
|
|
LDLAGS="$($(package)_ldflags)" \
|
|
cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix) \
|
|
-DTOOLCHAIN_PREFIX=$(host_toolchain) \
|
|
-DCMAKE_AR="$(host_prefix)/native/bin/$($(package)_ar)" \
|
|
-DCMAKE_RANLIB="$(host_prefix)/native/bin/$($(package)_ranlib)" \
|
|
-DCMAKE_CXX_FLAGS_DEBUG=ON
|
|
endef
|
|
# -DCMAKE_TOOLCHAIN_FILE=$(HOST)/share/toolchain.cmake
|
|
|
|
define $(package)_build_cmds
|
|
cd googletest && CC="$(host_prefix)/native/bin/$($(package)_cc)" $(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
mkdir $($(package)_staging_prefix_dir)/lib $($(package)_staging_prefix_dir)/include &&\
|
|
cp googletest/libgtest.a $($(package)_staging_prefix_dir)/lib/ &&\
|
|
cp googletest/libgtest_main.a $($(package)_staging_prefix_dir)/lib/ &&\
|
|
cp -a googletest/include/* $($(package)_staging_prefix_dir)/include/
|
|
endef
|