Skip to content

Commit f687157

Browse files
author
Stathis
committed
HAP-332 removed rebuild external option
1 parent 64e310a commit f687157

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

install.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -124,26 +124,6 @@ def replace_shebang(filename, shebang):
124124
f.write(l)
125125

126126

127-
def build_external(source_dir, args):
128-
""" Build hap.py external dependencies """
129-
print >>sys.stderr, "Building external dependencies"
130-
if args.boost:
131-
boost_prefix = "BOOST_ROOT=%s " % args.boost
132-
else:
133-
boost_prefix = ""
134-
135-
setupscript = ""
136-
if args.setup != "auto":
137-
setupscript = " . %s && " % os.path.join(source_dir, "src", "sh", args.setup + "-setup.sh")
138-
139-
setupscript += boost_prefix
140-
141-
to_run = "cd %s && %s ./make_dependencies.sh rebuild" % (os.path.join(source_dir, "external"),
142-
setupscript)
143-
print >>sys.stderr, to_run
144-
subprocess.check_call(to_run, shell=True)
145-
146-
147127
def build_haplotypes(source_dir, build_dir, args):
148128
if args.boost:
149129
boost_prefix = "BOOST_ROOT=%s " % args.boost
@@ -257,10 +237,6 @@ def main():
257237
help="Keep the scratch folder.", default=False,
258238
action="store_true")
259239

260-
parser.add_argument("--no-rebuild-external", dest="external_build", default=True,
261-
action="store_false",
262-
help="Don't rebuild external dependencies if not necessary.")
263-
264240
parser.add_argument("--with-rtgtools", dest="build_rtgtools", default=False,
265241
action="store_true",
266242
help="Get and build rtgtools. You need to have Java and Ant for this.")
@@ -301,9 +277,6 @@ def main():
301277
if args.boost and not os.path.exists(args.boost):
302278
raise Exception("Boost directory doesn't exist.")
303279

304-
# build deps
305-
#build_external(source_dir, args)
306-
307280
# build hap.py
308281
build_dir = tempfile.mkdtemp(prefix="build", dir=args.scratch_path)
309282
try:

0 commit comments

Comments
 (0)