sync Jun 5
This commit is contained in:
@@ -18,8 +18,17 @@ rm -rf $(find . -name target)
|
||||
rm -rf ../build/
|
||||
|
||||
# Re-build package without Mock Rabit
|
||||
# Maven profiles:
|
||||
# `default` includes modules: xgboost4j, xgboost4j-spark, xgboost4j-flink, xgboost4j-example
|
||||
# `gpu` includes modules: xgboost4j-gpu, xgboost4j-spark-gpu, sets `use.cuda = ON`
|
||||
# `scala-2.13` sets the scala binary version to the 2.13
|
||||
# `release-to-s3` sets maven deployment targets
|
||||
|
||||
# Deploy to S3 bucket xgboost-maven-repo
|
||||
mvn --no-transfer-progress package deploy -Duse.cuda=ON -P release-to-s3 -Dspark.version=${spark_version} -DskipTests
|
||||
mvn --no-transfer-progress package deploy -P default,gpu,release-to-s3 -Dspark.version=${spark_version} -DskipTests
|
||||
# Deploy scala 2.13 to S3 bucket xgboost-maven-repo
|
||||
mvn --no-transfer-progress package deploy -P release-to-s3,default,scala-2.13 -Dspark.version=${spark_version} -DskipTests
|
||||
|
||||
|
||||
set +x
|
||||
set +e
|
||||
|
||||
@@ -90,7 +90,7 @@ def check_cmd_print_failure_assistance(cmd: List[str]) -> bool:
|
||||
|
||||
subprocess.run([cmd[0], "--version"])
|
||||
msg = """
|
||||
Please run the following command on your machine to address the formatting error:
|
||||
Please run the following command on your machine to address the error:
|
||||
|
||||
"""
|
||||
msg += " ".join(cmd)
|
||||
|
||||
Reference in New Issue
Block a user