Skip to content

Commit

Permalink
Try clang
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jan 13, 2024
1 parent a52d798 commit b044a45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/build-lib.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ if "%PKG_NAME%"=="libprotobuf-static" (
cd build-shared
)

set CC=clang-cl.exe
set CXX=clang-cl.exe

:: Configure and install based on protobuf's instructions and other `bld.bat`s.
cmake -G "Ninja" ^
-DCMAKE_BUILD_TYPE=Release ^
Expand Down
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ outputs:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- clang # [win]
- cmake
- ninja
host:
Expand Down Expand Up @@ -112,6 +113,7 @@ outputs:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- clang # [win]
- cmake
- ninja
host:
Expand Down

0 comments on commit b044a45

Please sign in to comment.