Skip to content

Commit

Permalink
Attempt to fix the macos build.
Browse files Browse the repository at this point in the history
Signed-off-by: Karolis Petrauskas <[email protected]>
  • Loading branch information
kape1395 committed Dec 23, 2023
1 parent 37ba312 commit 13bf0e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deps/isabelle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ ISABELLE_VSN=Isabelle2023
ifeq ($(OS_TYPE),Linux)
ISABELLE_ARCHIVE=$(ISABELLE_VSN)_linux.tar.gz
ISABELLE_ARCHIVE_TYPE=tgz
ISABELLE_ARCHIVE_DIR=$(ISABELLE_VSN)
FIND_EXEC=-executable
endif
ifeq ($(OS_TYPE),Darwin)
ISABELLE_ARCHIVE=$(ISABELLE_VSN)_macos.tar.gz
ISABELLE_ARCHIVE_TYPE=tgz
ISABELLE_ARCHIVE_DIR=$(ISABELLE_VSN).app
FIND_EXEC=-perm +111
endif
ifeq ($(OS_TYPE),Cygwin)
# TODO: Fix this.
ISABELLE_ARCHIVE=$(ISABELLE_VSN)_bundle_x86-cygwin.tar.gz
ISABELLE_ARCHIVE_TYPE=tgz
ISABELLE_ARCHIVE_DIR=$(ISABELLE_VSN)
FIND_EXEC=-executable
endif

Expand Down Expand Up @@ -45,7 +48,7 @@ $(ISABELLE_DIR): $(ISABELLE_ARCHIVE)
ifeq ($(ISABELLE_ARCHIVE_TYPE),tgz)
rm -rf $(ISABELLE_DIR)
tar -xzf $<
mv $(ISABELLE_VSN) $(ISABELLE_DIR)
mv $(ISABELLE_ARCHIVE_DIR) $(ISABELLE_DIR)
endif

# Build the TLA+ theory.
Expand Down

0 comments on commit 13bf0e3

Please sign in to comment.