Skip to content

Commit 8e29e90

Browse files
authored
Merge pull request #390 from uwplse/release-1.5
Re-release 1.5
2 parents b9be9b5 + 411b1e2 commit 8e29e90

File tree

5 files changed

+93
-10
lines changed

5 files changed

+93
-10
lines changed

.dockerignore

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.git
2-
graphs
3-
ml-toy
2+
.github
3+
.gitignore
4+
reports
45
papers
5-
herbie/compile/tc*
6-
herbie/compile/nr*
7-
rebuild-paper.sh
6+
egg-herbie/target

.github/workflows/release.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Build new Herbie release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
job1:
10+
name: Create Initial Release
11+
runs-on: ubuntu-latest
12+
outputs:
13+
upload_url: ${{ steps.create_release.outputs.upload_url }}
14+
15+
steps:
16+
- name: Create Release
17+
id: create_release
18+
uses: actions/create-release@v1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
tag_name: ${{ github.ref }}
23+
release_name: ${{ github.ref }}
24+
draft: true
25+
prerelease: false
26+
27+
job2:
28+
name: Build
29+
needs: job1
30+
strategy:
31+
matrix:
32+
os:
33+
- windows
34+
- ubuntu
35+
- macOS
36+
runs-on: ${{ matrix.os }}-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
40+
- name: Install Racket
41+
uses: Bogdanp/[email protected]
42+
with:
43+
version: stable
44+
45+
- name: Install Rust compiler
46+
uses: actions-rs/toolchain@v1
47+
with:
48+
toolchain: stable
49+
default: true
50+
override: true
51+
52+
- name: build egg-herbie
53+
run: cargo build --release --manifest-path=egg-herbie/Cargo.toml
54+
55+
- name: Create tarball
56+
run: raco pkg create --format zip egg-herbie
57+
58+
- name: Upload pre-build egg-herbie
59+
uses: actions/upload-release-asset@v1
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
with:
63+
upload_url: ${{ needs.job1.outputs.upload_url }}
64+
asset_path: egg-herbie.zip
65+
asset_name: egg-herbie-${{ matrix.os }}.zip
66+
asset_content_type: application/zip
67+
68+
- name: Upload pre-build egg-herbie checksum
69+
uses: actions/upload-release-asset@v1
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
with:
73+
upload_url: ${{ needs.job1.outputs.upload_url }}
74+
asset_path: egg-herbie.zip.CHECKSUM
75+
asset_name: egg-herbie-${{ matrix.os }}.zip.CHECKSUM
76+
asset_content_type: application/zip

src/info.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"profile-lib"
3030
"rackunit-lib"
3131
"web-server-lib"
32-
("egg-herbie" #:version "1.5")
32+
("egg-herbie" #:version "1.4")
3333
("regraph" #:version "1.4")
3434
("rival" #:version "1.4")
3535
("fpbench" #:version "2.0.1")))

www/doc/1.5/faq.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ <h2>Common errors</h2>
2525
information and debugging tips.
2626
</p>
2727

28+
<h3 id="hangs">Herbie hangs forever</h3>
29+
30+
<p>
31+
Herbie 1.5 on Racket 8.0 through 8.2 sometimes hangs due to a bugs
32+
in both Herbie and Racket. Please reinstall Herbie 1.5; we
33+
re-released it with a fix for this bug.
34+
</p>
35+
2836
<h3 id="invalid-syntax">Invalid syntax</h3>
2937

3038
<p>

www/doc/1.5/installing.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h2>Installing Herbie from source</h2>
6969
<p>
7070
Install Rust, using <a href="https://rustup.rs/">rustup</a> or via
7171
some other means. Also install Racket, version 7.0 or later, either using
72-
the <a href="http://download.racket-lang.org/racket-v7.7.html">official
72+
the <a href="http://download.racket-lang.org/racket-v8.1.html">official
7373
installer</a> or distro-provided packages.
7474
</p>
7575

@@ -98,9 +98,9 @@ <h2>Installing Herbie from source</h2>
9898
</p>
9999

100100
<ul>
101-
<li>On Windows, <code>AppData\Roaming\Racket\7.7\bin</code> in your user folder.</li>
102-
<li>On macOS, <code>Library/Racket/7.7/bin</code> in your user folder.</li>
103-
<li>On Linux, <code>.racket/7.7/bin</code> in your home directory.</li>
101+
<li>On Windows, <code>AppData\Roaming\Racket\8.1\bin</code> in your user folder.</li>
102+
<li>On macOS, <code>Library/Racket/8.1/bin</code> in your home folder.</li>
103+
<li>On Linux, <code>.racket/8.1/bin</code> in your home directory.</li>
104104
</ul>
105105

106106
<p>

0 commit comments

Comments
 (0)