Skip to content

Commit

Permalink
remove legate-url and legate-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bryevdv committed Oct 17, 2022
1 parent 5bf8a90 commit 357aeee
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ def install_cunumeric(
gasnet_dir,
networks,
hdf,
legate_branch,
legate_url,
llvm,
march,
maxdim,
Expand Down Expand Up @@ -185,8 +183,6 @@ def install_cunumeric(
print("gasnet_dir: ", gasnet_dir)
print("networks: ", networks)
print("hdf: ", hdf)
print("legate_branch: ", legate_branch)
print("legate_url: ", legate_url)
print("llvm: ", llvm)
print("march: ", march)
print("maxdim: ", maxdim)
Expand Down Expand Up @@ -228,12 +224,9 @@ def validate_path(path):
cutensor_dir = validate_path(cutensor_dir)
openblas_dir = validate_path(openblas_dir)

try:
import legate.install_info as lg_install_info
import legate.install_info as lg_install_info

legate_dir = dirname(lg_install_info.libpath)
except Exception:
legate_dir = None
legate_dir = dirname(lg_install_info.libpath)

if verbose:
print("cuda_dir: ", cuda_dir)
Expand Down Expand Up @@ -348,10 +341,6 @@ def validate_path(path):
cmake_flags += ["-Dcunumeric_cuRAND_INCLUDE_DIR=%s" % curand_dir]
if legate_dir:
cmake_flags += ["-Dlegate_core_ROOT=%s" % legate_dir]
if legate_url:
cmake_flags += ["-Dcunumeric_LEGATE_CORE_REPOSITORY=%s" % legate_url]
if legate_branch:
cmake_flags += ["-Dcunumeric_LEGATE_CORE_BRANCH=%s" % legate_branch]

cmake_flags += extra_flags
cmd_env.update(
Expand Down Expand Up @@ -422,20 +411,6 @@ def driver():
default=os.environ.get("GASNET"),
help="Path to GASNet installation directory.",
)
parser.add_argument(
"--legate-url",
dest="legate_url",
required=False,
default="https://github.com/nv-legate/legate.core.git",
help="Legate git URL to build cuNumeric with.",
)
parser.add_argument(
"--legate-branch",
dest="legate_branch",
required=False,
default="branch-22.10",
help="Legate branch to build cuNumeric with.",
)
parser.add_argument(
"--with-openblas",
dest="openblas_dir",
Expand Down

0 comments on commit 357aeee

Please sign in to comment.