sunchao commented on code in PR #136:
URL: 
https://github.com/apache/arrow-datafusion-comet/pull/136#discussion_r1508480571


##########
Makefile:
##########
@@ -21,25 +21,22 @@ all: core jvm
 
 core:
        cd core && cargo build
-jvm:
-       ./mvnw clean package -DskipTests $(PROFILES)
-test:
-       ./mvnw clean
+test-rust:
        # We need to compile CometException so that the cargo test can pass
        ./mvnw compile -pl common -DskipTests $(PROFILES)
        cd core && cargo build && \
-       
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${JAVA_HOME}/lib:${JAVA_HOME}/lib/server:${JAVA_HOME}/lib/jli
 && \
-       
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+${DYLD_LIBRARY_PATH}:}${JAVA_HOME}/lib:${JAVA_HOME}/lib/server:${JAVA_HOME}/lib/jli
 \
        RUST_BACKTRACE=1 cargo test
+jvm:
+       ./mvnw clean package -DskipTests $(PROFILES)
+test-jvm: core
        SPARK_HOME=`pwd` COMET_CONF_DIR=$(shell pwd)/conf RUST_BACKTRACE=1 
./mvnw verify $(PROFILES)
+test: test-rust test-jvm

Review Comment:
   This sounds OK to me 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to