Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported FreeBSD to 12.2 #3706

Merged
merged 2 commits into from
Feb 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARCH=x86-64

# Triple construction
VENDOR=unknown
OS=freebsd-12.1
OS=freebsd-12.2
TRIPLE=${ARCH}-${VENDOR}-${OS}

# Build parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARCH=x86-64

# Triple construction
VENDOR=unknown
OS=freebsd-12.1
OS=freebsd-12.2
TRIPLE=${ARCH}-${VENDOR}-${OS}

# Build parameters
Expand Down
22 changes: 11 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ task:
only_if: $CIRRUS_PR != ''

freebsd_instance:
image: freebsd-12-1-release-amd64
image: freebsd-12-2-release-amd64
cpu: 8
memory: 24

name: "PR: x86-64-unknown-freebsd-12.1"
name: "PR: x86-64-unknown-freebsd-12.2"

install_script:
- echo "FETCH_RETRY = 6" >> /usr/local/etc/pkg.conf
Expand All @@ -86,7 +86,7 @@ task:

libs_cache:
folder: build/libs
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.1"
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.2"
populate_script: gmake libs arch=x86-64 build_flags=-j8

configure_script:
Expand Down Expand Up @@ -290,11 +290,11 @@ task:
only_if: $CIRRUS_CRON == "master-midnight"

freebsd_instance:
image: freebsd-12-1-release-amd64
image: freebsd-12-2-release-amd64
cpu: 8
memory: 24

name: "nightly: x86-64-unknown-freebsd-12.1"
name: "nightly: x86-64-unknown-freebsd-12.2"

environment:
CLOUDSMITH_API_KEY: ENCRYPTED[!2cb1e71c189cabf043ac3a9030b3c7708f9c4c983c86d07372ae58ad246a07c54e40810d038d31c3cf3ed8888350caca!]
Expand All @@ -308,11 +308,11 @@ task:

libs_cache:
folder: build/libs
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.1"
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.2"
populate_script: gmake libs arch=x86-64 build_flags=-j8

nightly_script:
- bash .ci-scripts/x86-64-unknown-freebsd-12.1-nightly.bash
- bash .ci-scripts/x86-64-unknown-freebsd-12.2-nightly.bash

task:
only_if: $CIRRUS_CRON == "master-midnight"
Expand Down Expand Up @@ -438,11 +438,11 @@ task:
only_if: $CIRRUS_TAG =~ '^\d+\.\d+\.\d+$'

freebsd_instance:
image: freebsd-12-1-release-amd64
image: freebsd-12-2-release-amd64
cpu: 8
memory: 24

name: "release: x86-64-unknown-freebsd-12.1"
name: "release: x86-64-unknown-freebsd-12.2"

environment:
CLOUDSMITH_API_KEY: ENCRYPTED[!2cb1e71c189cabf043ac3a9030b3c7708f9c4c983c86d07372ae58ad246a07c54e40810d038d31c3cf3ed8888350caca!]
Expand All @@ -456,11 +456,11 @@ task:

libs_cache:
folder: build/libs
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.1"
fingerprint_script: echo "`md5 lib/CMakeLists.txt` freebsd-12.2"
populate_script: gmake libs arch=x86-64 build_flags=-j8

release_script:
- bash .ci-scripts/x86-64-unknown-freebsd-12.1-release.bash
- bash .ci-scripts/x86-64-unknown-freebsd-12.2-release.bash

task:
only_if: $CIRRUS_TAG =~ '^\d+\.\d+\.\d+$'
Expand Down
3 changes: 3 additions & 0 deletions .release-notes/3706.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Change supported FreeBSD version to 12.2

We only maintain support for a single version of FreeBSD at a time due to limited usage of Pony of FreeBSD. We've switched from testing and building releases for 12.1 to 12.2, We would have done this sooner, but we hadn't noticed that 12.2 had been released.
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Prebuilt Pony binaries are available on a number of platforms. They are built us

Prebuilt Pony installations will use clang as the default C compiler and clang++ as the default C++ compiler. If you prefer to use different compilers, such as gcc and g++, these defaults can be overridden by setting the `$CC` and `$CXX` environment variables to your compiler of choice.

## FreeBSD 12.1
## FreeBSD 12.2

Prebuilt FreeBSD 12.1 nightly packages are available for download from our [Cloudsmith repository](https://cloudsmith.io/~ponylang/repos/nightlies/packages/?q=name%3A%27%5Eponyc-x86-64-unknown-freebsd-12.1.tar.gz%24%27).
Prebuilt FreeBSD 12.2 nightly packages are available for download from our [Cloudsmith repository](https://cloudsmith.io/~ponylang/repos/nightlies/packages/?q=name%3A%27%5Eponyc-x86-64-unknown-freebsd-12.2.tar.gz%24%27).

Starting with the next ponyc release, you'll also be able to download prebuilt ponyc releases from Cloudsmith. We'll update this page with the link once they become available.

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You can verify that the release artifacts were successfully built and uploaded b
Package names will be:

* ponyc-x86-64-apple-darwin.tar.gz
* ponyc-x86-64-unknown-freebsd-12.1.tar.gz
* ponyc-x86-64-unknown-freebsd-12.2.tar.gz
* ponyc-x86-64-pc-windows-msvc.zip
* ponyc-x86-64-unknown-linux-centos8.tar.gz
* ponyc-x86-64-unknown-linux-gnu.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(NOT DEFINED PONYC_LIBS_BUILD_TYPE)
endif()

ExternalProject_Add(gbenchmark
URL https://github.com/google/benchmark/archive/v1.5.0.tar.gz
URL https://github.com/google/benchmark/archive/v1.5.2.tar.gz
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${PONYC_LIBS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -DBENCHMARK_ENABLE_GTEST_TESTS=OFF -DCMAKE_CXX_FLAGS=-fpic --no-warn-unused-cli
)

Expand Down