Skip to content

Commit 5d9c20e

Browse files
committed
give up on omp for mac
1 parent 8522dba commit 5d9c20e

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

.github/workflows/build.yml

-13
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,9 @@ jobs:
5757
run: choco install ninja && choco upgrade llvm
5858
if: runner.os == 'Windows'
5959

60-
- name: Install libomp on macOS
61-
run: brew install libomp
62-
if: runner.os == 'macOS'
63-
64-
- name: Build and test
65-
env:
66-
LDFLAGS: "-L/opt/homebrew/opt/libomp/lib"
67-
CPPFLAGS: "-I/opt/homebrew/opt/libomp/include"
68-
run: ./make.ps1 -prebuiltFrontend frontend/flipbook.js
69-
shell: pwsh
70-
if: runner.os == 'macOS'
71-
7260
- name: Build and test
7361
run: ./make.ps1 -prebuiltFrontend frontend/flipbook.js
7462
shell: pwsh
75-
if: runner.os != 'macOS'
7663

7764
- name: Upload Binaries
7865
uses: actions/upload-artifact@v4

Core/CMakeLists.txt

-9
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@ if (WIN32)
44
add_compile_definitions(SIMPLE_IMAGE_IO_DLL SIMPLE_IMAGE_IO_EXPORTS)
55
endif()
66

7-
if (APPLE)
8-
if (EXISTS "/opt/homebrew/opt/libomp")
9-
add_compile_options("-L/opt/homebrew/opt/libomp/lib" "-I/opt/homebrew/opt/libomp/include")
10-
message("added the stuff, does it work?")
11-
else()
12-
message("For OpenMP support, try: brew install libomp")
13-
endif()
14-
endif()
15-
167
# FPNG stuff
178
if (NOT MSVC)
189
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing -DFPNG_NO_SSE=1 -msse4.1 -mpclmul")

0 commit comments

Comments
 (0)