Skip to content

Commit

Permalink
undef simd for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Dec 2, 2023
1 parent 0906ffc commit 64d9cdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}

env:
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(SHLIB) : HTSLIB
# LDFLAGS=$(shell "R CMD config LDFLAGS")

HTSLIB:
(cd ${HTSLIB_DIR} && ./configure && cp -f htscodecs.vcfppR htscodecs.mk && $(MAKE) -f Makefile.win libhts.a && cd ..)
(cd ${HTSLIB_DIR} && ./configure && sed -i -e 's/HAVE_AVX2 1/HAVE_AVX2 0/' -e 's/HAVE_AVX512 1/HAVE_AVX512 0/' -e 's/HAVE_POPCNT 1/HAVE_POPCNT 0/' -e 's/HAVE_SSSE3 1/HAVE_SSSE3 0/' -e '/HAVE_SSE4_1 1/HAVE_SSE4_1 0/' config.h && $(MAKE) -f Makefile.win libhts.a && cd ..)


clean:
Expand Down
2 changes: 1 addition & 1 deletion src/htslib-1.18/Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ HTS_BUILD_POPCNT =
HTS_BUILD_SSE4_1 =

include htslib_vars.mk
include htscodecs_bundled.mk
include htscodecs.mk

# If not using GNU make, you need to copy the version number from version.sh
# into here.
Expand Down

0 comments on commit 64d9cdb

Please sign in to comment.