Skip to content

Instantly share code, notes, and snippets.

@yyolk
Created August 10, 2023 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyolk/105e6d137c92bda959b000ce5a092f03 to your computer and use it in GitHub Desktop.
Save yyolk/105e6d137c92bda959b000ce5a092f03 to your computer and use it in GitHub Desktop.
FreeBSD patches for running Chia-Network/chia-blockchain@2.0.0-rc4
diff --git a/setup.py b/setup.py
index fc27c7d1e..9e86d7469 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ dependencies = [
"boto3==1.26.161", # AWS S3 for DL s3 plugin
"chiavdf==1.0.10", # timelord and vdf verification
"chiabip158==1.2", # bip158-style wallet filters
- "chiapos==2.0.0", # proof of space
+ "chiapos", # proof of space
"clvm==0.9.7",
"clvm_tools==0.4.6", # Currying, Program.to, other conveniences
"chia_rs==0.2.10",
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 207aacc..3630106 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,16 +16,12 @@ project(chiapos C CXX ASM)
# CMake 3.14+
include(FetchContent)
-if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
-include(${CMAKE_INSTALL_PREFIX}/share/cmake/pybind11/pybind11Config.cmake)
-else()
FetchContent_Declare(
pybind11-src
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.10.0
)
FetchContent_MakeAvailable(pybind11-src)
-endif()
FetchContent_Declare(
cxxopts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment