Skip to content

Commit

Permalink
don't build HDFS by default on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Oct 26, 2018
1 parent b4a32e9 commit 346de73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def libtiledb_exists(library_dirs):
lib_name = "libtiledb.dylib"
else:
lib_name = "libtiledb.so"
elif os.name == "nt":
lib_name = "tiledb.lib"
try:
ctypes.CDLL(lib_name)
return lib_name
Expand Down Expand Up @@ -117,8 +119,8 @@ def build_libtiledb(src_dir):
cmake_cmd = ["cmake", "-DCMAKE_INSTALL_PREFIX={}".format(libtiledb_install_dir),
"-DCMAKE_BUILD_TYPE=Release",
"-DTILEDB_TESTS=OFF",
"-DTILEDB_HDFS=ON",
"-DTILEDB_S3=ON",
"-DTILEDB_HDFS={}".format("ON" if os.name == "posix" else "OFF"),
".."]

have_make = True
Expand Down

0 comments on commit 346de73

Please sign in to comment.