Remove reference to R win64 MSVC build. (#10355)

This commit is contained in:
Jiaming Yuan 2024-06-02 02:06:35 +08:00 committed by GitHub
parent d2d01d977a
commit 92cba25fe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -230,7 +230,6 @@ def release_note(
) -> None: ) -> None:
"""Generate a note for GitHub release description.""" """Generate a note for GitHub release description."""
r_gpu_linux_url = r_urls["linux"] r_gpu_linux_url = r_urls["linux"]
r_gpu_win64_url = r_urls["win64"]
src_tarball = ( src_tarball = (
f"https://github.com/dmlc/xgboost/releases/download/v{release}/{tarname}" f"https://github.com/dmlc/xgboost/releases/download/v{release}/{tarname}"
) )
@ -251,7 +250,6 @@ echo "<hash> <artifact>" | shasum -a 256 --check
**Experimental binary packages for R with CUDA enabled** **Experimental binary packages for R with CUDA enabled**
* xgboost_r_gpu_linux_{release}.tar.gz: [Download]({r_gpu_linux_url}) * xgboost_r_gpu_linux_{release}.tar.gz: [Download]({r_gpu_linux_url})
* xgboost_r_gpu_win64_{release}.tar.gz: [Download]({r_gpu_win64_url})
**Source tarball** **Source tarball**
* xgboost.tar.gz: [Download]({src_tarball})""" * xgboost.tar.gz: [Download]({src_tarball})"""
@ -297,6 +295,8 @@ def main(args: argparse.Namespace) -> None:
commit_hash = latest_hash() commit_hash = latest_hash()
outdir = os.path.abspath(args.outdir) outdir = os.path.abspath(args.outdir)
if outdir.find(str(ROOT)) != -1:
raise ValueError("output dir must be outside of the source tree.")
if not os.path.exists(outdir): if not os.path.exists(outdir):
os.mkdir(outdir) os.mkdir(outdir)