Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Update supported MacOS version to Big Sur
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Jan 11, 2021
1 parent 9e83e6e commit b462fb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ By using the latest Clang/LLVM, generated WASM binaries will have smaller size b

### Binary Releases

The prebuilt binares are provided for Ubuntu 20.04 and MacOS Catalina.
The prebuilt binares are provided for Ubuntu 20.04 and MacOS Big Sur.

#### Ubuntu 20.04

Expand Down
14 changes: 7 additions & 7 deletions scripts/generate_bottle.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#! /bin/bash

VERS=`sw_vers -productVersion | awk '/10\.14\..*/{print $0}'`
VERS=`sw_vers -productVersion | awk '/^10\.15\..*/{print $0}'`
if [[ -z "$VERS" ]];
then
VERS=`sw_vers -productVersion | awk '/10\.15.*/{print $0}'`
VERS=`sw_vers -productVersion | awk '/^11\..*/{print $0}'`
if [[ -z "$VERS" ]];
then
echo "Error, unsupported MacOS version"
exit -1
fi
MAC_VERSION="catalina"
MAC_VERSION="bigsur"
else
MAC_VERSION="mojave"
MAC_VERSION="catalina"
fi

NAME="${PROJECT}-${VERSION}.${MAC_VERSION}.bottle.tar.gz"
Expand All @@ -36,7 +36,7 @@ echo "class Blanc < Formula
homepage \"${URL}\"
revision 0
url \"https://github.com/turnpike/blanc/archive/v${VERSION}.tar.gz\"
url \"https://github.com/turnpike/blanc/archive/${VERSION}.tar.gz\"
version \"${VERSION}\"
option :universal
Expand All @@ -51,11 +51,11 @@ echo "class Blanc < Formula
depends_on \"graphviz\" => :build
depends_on \"lcov\" => :build
depends_on :xcode => :build
depends_on :macos => :high_sierra
depends_on :macos => :catalina
depends_on :arch => :intel
bottle do
root_url \"https://github.com/turnpike/blanc/releases/download/v${VERSION}\"
root_url \"https://github.com/turnpike/blanc/releases/download/${VERSION}\"
sha256 \"${hash}\" => :${MAC_VERSION}
end
def install
Expand Down

0 comments on commit b462fb2

Please sign in to comment.