Skip to content

Commit

Permalink
chore: Fixed gemlow
Browse files Browse the repository at this point in the history
  • Loading branch information
danmayr.joachim committed Feb 3, 2025
1 parent ced1ce4 commit 52b9e11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
sudo conan upload sleef/3.6.1 -r=imageclibs
- name: Add gemmlowp
if: false
if: true
run: |
sudo conan export -r=imageclibs --version=cci.20210928 recipes/gemmlowp/all
sudo conan upload gemmlowp/cci.20210928 -r=imageclibs
Expand Down
9 changes: 4 additions & 5 deletions recipes/gemmlowp/all/patches/build-static-libraries.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ index d6833e8..e2932f8 100644
+++ b/contrib/CMakeLists.txt
@@ -17,8 +17,8 @@ get_filename_component(gemmlowp_src ${gemmlowp_SOURCE_DIR} PATH)

if(WIN32)
- if(WIN32)
+ if(MSVC)
# one can enable simd from the cmake command line, ie -DCMAKE_CXX_FLAGS="/arch:AVX2
- add_definitions(-DNOMINMAX -DWIN64 -DWIN32_LEAN_AND_MEAN -DNOGDI)
- add_definitions(/bigobj /nologo /EHsc /GF /MP /Gm- /wd4800 /wd4805 /wd4244)
+ #add_definitions(-DNOMINMAX -DWIN64 -DWIN32_LEAN_AND_MEAN -DNOGDI)
+ #add_definitions(/bigobj /nologo /EHsc /GF /MP /Gm- /wd4800 /wd4805 /wd4244)
add_definitions(-DNOMINMAX -DWIN64 -DWIN32_LEAN_AND_MEAN -DNOGDI)
add_definitions(/bigobj /nologo /EHsc /GF /MP /Gm- /wd4800 /wd4805 /wd4244)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# if we compile for windows with clang, allow inline asm
add_definitions(-DGEMMLOWP_ALLOW_INLINE_ASM)
Expand Down

0 comments on commit 52b9e11

Please sign in to comment.