We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6921a4a commit df8c358Copy full SHA for df8c358
1 file changed
install_optimized.sh
100644
100755
@@ -20,7 +20,11 @@ fi
20
21
if [[ "$arch" != "x86_64" && "$arch" != "amd64" ]]; then
22
echo "[WARN] Non-x86_64 architecture ($arch) detected; skipping native flags. Running portable build."
23
- python -m pip install "$@"
+ if [[ "$#" -eq 0 ]]; then
24
+ python -m pip install .
25
+ else
26
+ python -m pip install "$@"
27
+ fi
28
exit 0
29
fi
30
@@ -36,4 +40,8 @@ export CMAKE_ARGS="${CMAKE_ARGS:-} ${cmake_args}"
36
40
37
41
echo "[INFO] Using CMAKE_ARGS=${CMAKE_ARGS}"
38
42
echo "[INFO] Invoking pip install with optimized flags..."
39
-python -m pip install "$@"
43
+if [[ "$#" -eq 0 ]]; then
44
45
+else
46
47
+fi
0 commit comments