Skip to content

Commit 6c335a6

Browse files
committed
Merge pull request #2709 from ben-albrecht/print-genrelease
Print genrelease [ @ronawho ]
2 parents 30f50d5 + 5bcc88c commit 6c335a6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

util/buildRelease/gen_release

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ if (exists($ENV{"CHPL_HOME"})) {
3535
$script_dir = dirname($0);
3636
$chplhome = abs_path("$script_dir/../..");
3737

38-
# We set $CHPL_HOME because `make docs` depends on it
39-
$ENV{"CHPL_HOME"}=$chplhome;
4038
}
4139

42-
print "CHPL_HOME is set to: $ENV{'CHPL_HOME'}\n";
4340

4441
# If CHPL_GEN_RELEASE_NO_CLONE is set in environment, do not clone the repo and
4542
# just use $CHPL_HOME as the work space.
@@ -168,8 +165,11 @@ chdir "$archive_dir";
168165
print "Building the docs...\n";
169166
# Set CHPL_COMM to none to avoid issues with gasnet generated makefiles not
170167
# existing because we haven't built the third-party libs
168+
$ENV{CHPL_HOME} = "$archive_dir";
171169
$ENV{CHPL_COMM} = "none";
172-
SystemOrDie("make docs");
170+
print "CHPL_HOME is set to: $ENV{'CHPL_HOME'}\n";
171+
172+
SystemOrDie("make -j docs");
173173
SystemOrDie("mv doc/sphinx/build/html doc/release");
174174
SystemOrDie("make clobber");
175175

0 commit comments

Comments
 (0)