Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ except ImportError as e:
|
|
57 |
print(f"Extension suffix: {ext_suffix}")
|
58 |
|
59 |
# Compile command
|
60 |
-
compile_cmd = f"""g++ -O3 -shared -std=c++
|
61 |
$(python3-config --includes) \
|
62 |
-I$(python3 -c "import pybind11; print(pybind11.get_include())") \
|
63 |
-I$(python3 -c "import numpy; print(numpy.get_include())") \
|
|
|
57 |
print(f"Extension suffix: {ext_suffix}")
|
58 |
|
59 |
# Compile command
|
60 |
+
compile_cmd = f"""g++ -O3 -shared -std=c++17 -fPIC \
|
61 |
$(python3-config --includes) \
|
62 |
-I$(python3 -c "import pybind11; print(pybind11.get_include())") \
|
63 |
-I$(python3 -c "import numpy; print(numpy.get_include())") \
|