Skip to content
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

Debug MacOS 12 #193

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
cibw-archs-macos:
arm: arm64
intel: x86_64
- name: Ubuntu
matrix: ubuntu
runs-on:
arm: [Linux, ARM64]
intel: [ubuntu-latest]
- name: Windows
matrix: windows
runs-on:
intel: [windows-latest]
# - name: Ubuntu
# matrix: ubuntu
# runs-on:
# arm: [Linux, ARM64]
# intel: [ubuntu-latest]
# - name: Windows
# matrix: windows
# runs-on:
# intel: [windows-latest]
python:
- major-dot-minor: '3.8'
cibw-build: 'cp38-*'
Expand All @@ -53,18 +53,18 @@ jobs:
cibw-build: 'cp39-*'
manylinux: manylinux_2_28
matrix: '3.9'
- major-dot-minor: '3.10'
cibw-build: 'cp310-*'
manylinux: manylinux_2_28
matrix: '3.10'
- major-dot-minor: '3.11'
cibw-build: 'cp311-*'
manylinux: manylinux_2_28
matrix: '3.11'
- major-dot-minor: '3.12'
cibw-build: 'cp312-*'
manylinux: manylinux_2_28
matrix: '3.12'
# - major-dot-minor: '3.10'
# cibw-build: 'cp310-*'
# manylinux: manylinux_2_28
# matrix: '3.10'
# - major-dot-minor: '3.11'
# cibw-build: 'cp311-*'
# manylinux: manylinux_2_28
# matrix: '3.11'
# - major-dot-minor: '3.12'
# cibw-build: 'cp312-*'
# manylinux: manylinux_2_28
# matrix: '3.12'

arch:
- name: ARM
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ before-build = "python -m pip install --upgrade pip"
[tool.cibuildwheel.macos]
build-verbosity = 0
before-all = "brew install gmp boost cmake"
before-build = "python -m pip install --upgrade pip"
before-build = """
python -m pip install --upgrade pip \
&& python -c 'import sys; print(sys.executable)' \
"""
environment = {MACOSX_DEPLOYMENT_TARGET="12", SYSTEM_VERSION_COMPAT=0, BUILD_VDF_CLIENT="N"}

[tool.cibuildwheel.windows]
Expand Down
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
option(BUILD_CHIAVDFC "Build the chiavdfc shared library" OFF)
option(BUILD_PYTHON "Build the python bindings for chiavdf" ON)

set(CMAKE_FIND_DEBUG_MODE TRUE)
set(CMAKE_MESSAGE_LOG_LEVEL DEBUG)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
list(APPEND CMAKE_PREFIX_PATH "/opt/homebrew")

IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "RELEASE")
ENDIF()

project(chiavdf)

set(CMAKE_FIND_DEBUG_MODE TRUE)
set(CMAKE_MESSAGE_LOG_LEVEL DEBUG)

set(CMAKE_MODULE_PATH
${CMAKE_CURRENT_LIST_DIR}/cmake
${CMAKE_MODULE_PATH}
Expand Down
Loading