Skip to content

Commit

Permalink
Temporarily patch in fmt linking.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Feb 15, 2023
1 parent ef1a310 commit caf7adf
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions python/cudf_kafka/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
),
)
CUDF_KAFKA_ROOT = os.environ.get(
"CUDF_KAFKA_ROOT", "../../libcudf_kafka/build"
"CUDF_KAFKA_ROOT", "../../cpp/libcudf_kafka/build"
)

try:
Expand Down Expand Up @@ -72,8 +72,14 @@
pa.get_include(),
cuda_include_dir,
],
library_dirs=([get_python_lib(), os.path.join(os.sys.prefix, "lib")]),
libraries=["cudf", "cudf_kafka"],
library_dirs=(
[
get_python_lib(),
os.path.join(os.sys.prefix, "lib"),
CUDF_KAFKA_ROOT,
]
),
libraries=["cudf", "cudf_kafka", "fmt"],
language="c++",
extra_compile_args=["-std=c++17"],
)
Expand Down

0 comments on commit caf7adf

Please sign in to comment.