Skip to content

Commit ddde26a

Browse files
committed
use gcc for macOS build
1 parent bf8459a commit ddde26a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/macOS.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: ammaraskar/gcc-problem-matcher@master
1919
- name: Install Dependencies
20-
run: brew install --force llvm libffi cmake ninja make
20+
run: brew install --force gcc libffi cmake ninja make
2121
# STM32 & RPi Pico port
2222
- name: arm-none-eabi-gcc
2323
if: matrix.port == 'stm32' || matrix.port == 'rp2'

gen/python_api_gen_mpy.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ def get_path(name: str, p: str) -> str:
229229
output_pp = f'/Fi"{pp_file}"'
230230
include_path_env_key = 'INCLUDE'
231231

232-
elif sys.platform.startswith('darwin'):
233-
include_path_env_key = 'C_INCLUDE_PATH'
234-
cpp_cmd = [
235-
'clang', '-std=c11', '-E', '-DINT32_MIN=0x80000000',
236-
]
237-
output_pp = f' >> "{pp_file}"'
232+
# elif sys.platform.startswith('darwin'):
233+
# include_path_env_key = 'C_INCLUDE_PATH'
234+
# cpp_cmd = [
235+
# 'clang', '-std=c11', '-E', '-DINT32_MIN=0x80000000',
236+
# ]
237+
# output_pp = f' >> "{pp_file}"'
238238
else:
239239
include_path_env_key = 'C_INCLUDE_PATH'
240240
cpp_cmd = [

0 commit comments

Comments
 (0)