Skip to content

Commit

Permalink
Use tar.gz archive of Isabelle on MacOS.
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 66d4195 commit f270dd4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions deps/isabelle/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ifeq ($(OS_TYPE),Linux)
endif
ifeq ($(OS_TYPE),Darwin)
ISABELLE_ARCHIVE=$(ISABELLE_VSN)_macos.tar.gz
ISABELLE_ARCHIVE_TYPE=dmg
ISABELLE_ARCHIVE_TYPE=tgz
FIND_EXEC=-perm +111
endif
ifeq ($(OS_TYPE),Cygwin)
Expand Down Expand Up @@ -47,13 +47,6 @@ ifeq ($(ISABELLE_ARCHIVE_TYPE),tgz)
tar -xzf $<
mv $(ISABELLE_VSN) $(ISABELLE_DIR)
endif
ifeq ($(ISABELLE_ARCHIVE_TYPE),dmg)
rm -rf isabelle-dmg
hdiutil attach "$<" -quiet -readonly -nobrowse -mountpoint "$(shell pwd)/isabelle-dmg"
cp -a "isabelle-dmg/$(ISABELLE_VSN).app/Contents/Resources/$(ISABELLE_VSN)" "$@"
hdiutil detach "$(shell pwd)/isabelle-dmg" -quiet
rm -rf isabelle-dmg
endif

# Build the TLA+ theory.
.PRECIOUS: $(ISABELLE_DIR)/src/TLA+
Expand Down

0 comments on commit f270dd4

Please sign in to comment.