Skip to content

Commit

Permalink
Fix the generated tarball on Mac OS X
Browse files Browse the repository at this point in the history
We were seeing an error like

   chapel-1.28.0/compiler/dyno/tools/chpldoc/BUILD_VERSION: Skipping hardlink pointing to itself: chapel-1.28.0/compiler/dyno/tools/chpldoc/BUILD_VERSION

It turns out that compiler/dyno/tools/chpldoc/BUILD_VERSION was a
symbolic link that we listed twice in the tar command so it was included
twice in the tar archive.

Changing the gen_release script to include that file only once in the
archive solves the problem.

---
Signed-off-by: Michael Ferguson <mppf@users.noreply.github.com>
  • Loading branch information
mppf committed Sep 13, 2022
1 parent 6d21412 commit e32e082
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion util/buildRelease/gen_release
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ if (exists($ENV{"CHPL_GEN_RELEASE_NO_CLONE"})) {
"util/start_test",
"util/chpltags",
"compiler/dyno/tools/chpldoc/LICENSE",
"compiler/dyno/tools/chpldoc/BUILD_VERSION",
"compiler/dyno/tools/chpldoc/COPYRIGHT",
"compiler/dyno/include/chpl/config/config.h.cmake",
);
Expand Down

0 comments on commit e32e082

Please sign in to comment.