Turned on passing “-X” arguments to compiler
This commit is contained in:
@@ -38,10 +38,6 @@ while [ $# -gt 0 ]; do
|
|||||||
java_args=("${java_args[@]}" "${1:2}")
|
java_args=("${java_args[@]}" "${1:2}")
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-X*)
|
|
||||||
echo "TODO: need to pass arguments to all the tools somehow."
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
--time)
|
--time)
|
||||||
konan_args=("${konan_args[@]}" --time)
|
konan_args=("${konan_args[@]}" --time)
|
||||||
java_args=("${java_args[@]}" -agentlib:hprof=cpu=samples -Dkonan.profile=true)
|
java_args=("${java_args[@]}" -agentlib:hprof=cpu=samples -Dkonan.profile=true)
|
||||||
|
|||||||
@@ -38,10 +38,6 @@ if not "!ARG!" == "" (
|
|||||||
set "JAVA_ARGS=%JAVA_ARGS% !ARG:~2!"
|
set "JAVA_ARGS=%JAVA_ARGS% !ARG:~2!"
|
||||||
goto next
|
goto next
|
||||||
)
|
)
|
||||||
if "!ARG:~0,2!" == "-X" (
|
|
||||||
echo "TODO: need to pass arguments to all the tools somehow."
|
|
||||||
goto next
|
|
||||||
)
|
|
||||||
if "!ARG!" == "--time" (
|
if "!ARG!" == "--time" (
|
||||||
set "KONAN_ARGS=%KONAN_ARGS% --time"
|
set "KONAN_ARGS=%KONAN_ARGS% --time"
|
||||||
set "JAVA_ARGS=%JAVA_ARGS% -agentlib:hprof=cpu=samples -Dkonan.profile=true"
|
set "JAVA_ARGS=%JAVA_ARGS% -agentlib:hprof=cpu=samples -Dkonan.profile=true"
|
||||||
|
|||||||
Reference in New Issue
Block a user