Skip to content

Commit f4e7f82

Browse files
committed
Merge branch 'release/1.12' of https://github.com/chapel-lang/chapel into release/1.12
2 parents eb8efb1 + 5bba64c commit f4e7f82

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: util/buildRelease/gen_release

+6-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ 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

40+
4241
# If CHPL_GEN_RELEASE_NO_CLONE is set in environment, do not clone the repo and
4342
# just use $CHPL_HOME as the work space.
4443
$no_clone = 0;
@@ -166,8 +165,11 @@ chdir "$archive_dir";
166165
print "Building the docs...\n";
167166
# Set CHPL_COMM to none to avoid issues with gasnet generated makefiles not
168167
# existing because we haven't built the third-party libs
169-
$ENV{CHPL_COMM} = "none";
170-
SystemOrDie("make docs");
168+
$ENV{'CHPL_HOME'} = "$archive_dir";
169+
$ENV{'CHPL_COMM'} = "none";
170+
print "CHPL_HOME is set to: $ENV{'CHPL_HOME'}\n";
171+
172+
SystemOrDie("make -j docs");
171173
SystemOrDie("mv doc/sphinx/build/html doc/release");
172174
SystemOrDie("make clobber");
173175

0 commit comments

Comments
 (0)