summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2026-03-09 18:05:16 +0100
committerGitHub <noreply@github.com>2026-03-09 18:05:16 +0100
commit2c11591e02b907e63d8fd4fcb0a6559625934a95 (patch)
treedab95d36703f314a8ee9d6277a160df16833c4e5 /example
parent411e8a1cdb3f4c2812d83f28c335d2a4eb18bd29 (diff)
reproducibility (#177)
* reproducibility * wip: ci fixes, drop generate_translations_header.c * minor fixes * fix patch * fix: toolchain * bump hash * fix: minor build issue fixes * fix: x86_64-w64-mingw32 * wip * wip * all updated :o * fix: reduce git size * update checksum remove CI * chore, more optimal dockerfile * update monero to v0.18.4.6 * update checksum * update * minor patch update * fix: no command specified * fix: correct path * alpine * stupid. * AAWASTREYDRFUGTIHYJHGUTYFRDTFYVGUBHINJHGTYFRDSRTXDTCFHBJ
Diffstat (limited to 'example')
-rw-r--r--example/cmake/.gitignore1
-rw-r--r--example/cmake/CMakeLists.txt64
2 files changed, 0 insertions, 65 deletions
diff --git a/example/cmake/.gitignore b/example/cmake/.gitignore
deleted file mode 100644
index 378eac2..0000000
--- a/example/cmake/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-build
diff --git a/example/cmake/CMakeLists.txt b/example/cmake/CMakeLists.txt
deleted file mode 100644
index bf5361c..0000000
--- a/example/cmake/CMakeLists.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-cmake_minimum_required(VERSION 3.1...3.29.2)
-
-include(CMakePrintHelpers)
-
-set(MONERO_C_COMMIT 36e61433c78750317ced29f0fc94ad22af16111d)
-set(MONERO_C_MIRROR https://git.mrcyjanek.net/mrcyjanek/monero_c)
-set(MONERO_C_WOWNERO OFF)
-set(MONERO_C_MONERO ON)
-
-
-cmake_print_variables(MONERO_C_COMMIT)
-cmake_print_variables(MONERO_C_MIRROR)
-cmake_print_variables(MONERO_C_MONERO)
-cmake_print_variables(MONERO_C_WOWNERO)
-
-project(
- monero_c
- VERSION 0.0.0)
-
-if(NOT EXISTS monero_c)
- execute_process(COMMAND git clone https://git.mrcyjanek.net/mrcyjanek/monero_c)
-endif()
-
-execute_process(WORKING_DIRECTORY monero_c COMMAND git checkout ${MONERO_C_COMMIT})
-execute_process(WORKING_DIRECTORY monero_c COMMAND git submodule update --recursive --force --init)
-
-execute_process(COMMAND rm monero_c/monero/.patch-applied)
-execute_process(COMMAND rm monero_c/wownero/.patch-applied)
-
-# apply patches
-
-if (MONERO_C_MONERO)
- execute_process(WORKING_DIRECTORY monero_c COMMAND ./apply_patches.sh monero)
-endif()
-
-if (MONERO_C_WOWNERO)
- execute_process(WORKING_DIRECTORY monero_c COMMAND ./apply_patches.sh wownero)
-endif()
-
-# actually.. build the software
-if (MONERO_C_MONERO)
- add_custom_command(
- COMMAND ./build_single.sh monero host-apple-darwin -j8
- OUTPUT monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib.xz
- WORKING_DIRECTORY monero_c
- )
-
- add_custom_command(
- COMMAND unxz -f monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib.xz
- OUTPUT monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib
- DEPENDS monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib.xz
- )
-
- add_custom_command(
- COMMAND mv monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib monero_host-apple-darwin_libwallet2_api_c.dylib
- OUTPUT host-apple-darwin_monero_libwallet2_api_c.dylib
- DEPENDS monero_c/release/monero/host-apple-darwin_libwallet2_api_c.dylib
- )
-endif()
-
-add_custom_target(
- .host-apple-darwin_monero_libwallet2_api_c.dylib ALL
- DEPENDS host-apple-darwin_monero_libwallet2_api_c.dylib
-) \ No newline at end of file