Skip to content

Commit

Permalink
build: do not compile time extension
Browse files Browse the repository at this point in the history
cibuildwheel uses msvc to build on Windows, and msvc
does not support certain C features used in the time
extension. So I have to disable it for now.
  • Loading branch information
nalgeon committed Oct 26, 2024
1 parent cd67a6a commit e6a6c5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ download-sqlean:
sqlite/stats \
sqlite/text \
sqlite/text/utf8 \
sqlite/time \
sqlite/unicode \
sqlite/uuid \
sqlite/vsv
Expand All @@ -49,7 +48,6 @@ download-sqlean:
cp sqlean-src/src/stats/*.h sqlite/stats/
cp sqlean-src/src/text/*.h sqlite/text/
cp sqlean-src/src/text/utf8/*.h sqlite/text/utf8
cp sqlean-src/src/time/*.h sqlite/time/
cp sqlean-src/src/unicode/*.h sqlite/unicode/
cp sqlean-src/src/uuid/*.h sqlite/uuid/
cp sqlean-src/src/vsv/*.h sqlite/vsv/
Expand All @@ -63,7 +61,6 @@ download-sqlean:
cat sqlean-src/src/regexp/pcre2/*.c sqlean-src/src/regexp/*.c > sqlite/sqlean-regexp.c
cat sqlean-src/src/stats/*.c > sqlite/sqlean-stats.c
cat sqlean-src/src/text/utf8/*.c sqlean-src/src/text/*.c > sqlite/sqlean-text.c
cat sqlean-src/src/time/*.c > sqlite/sqlean-time.c
cat sqlean-src/src/unicode/*.c > sqlite/sqlean-unicode.c
cat sqlean-src/src/uuid/*.c > sqlite/sqlean-uuid.c
cat sqlean-src/src/vsv/*.c > sqlite/sqlean-vsv.c
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def _setup_sources(self, ext):
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-regexp.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-stats.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-text.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-time.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-unicode.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-uuid.c"))
ext.sources.append(os.path.join(self.amalgamation_root, "sqlean-vsv.c"))
Expand Down

0 comments on commit e6a6c5e

Please sign in to comment.