Skip to content

Commit c7ba810

Browse files
committed
separation of c to c-linux and c-windows platforms
1 parent ab3b227 commit c7ba810

File tree

5 files changed

+261
-6
lines changed

5 files changed

+261
-6
lines changed

.github/workflows/distribute.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
# Test executable
5858
- name: "Test executable, improve tool (Windows)"
5959
if: runner.os == 'Windows'
60-
run: herbie-compiled/herbie.exe improve --threads yes bench/tutorial.fpcore improve.fpcore
60+
run: herbie-compiled/herbie.exe improve --platform c-windows --threads yes bench/tutorial.fpcore improve.fpcore
6161
- name: "Test executable, improve tool (Linux / MacOS)"
6262
if: runner.os != 'Windows'
6363
run: herbie-compiled/bin/herbie improve --threads yes bench/tutorial.fpcore improve.fpcore
6464
- name: "Test executable, report tool (Windows)"
6565
if: runner.os == 'Windows'
66-
run: herbie-compiled/herbie.exe report --threads yes bench/tutorial.fpcore graphs
66+
run: herbie-compiled/herbie.exe report --platform c-windows --threads yes bench/tutorial.fpcore graphs
6767
- name: "Test executable, report tool (Linux / MacOS)"
6868
if: runner.os != 'Windows'
6969
run: herbie-compiled/bin/herbie report --threads yes bench/tutorial.fpcore graphs

src/config.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
(define *default-precision* (make-parameter 'binary64))
162162

163163
;; The platform that Herbie will evaluate with.
164-
(define *platform-name* (make-parameter "c"))
164+
(define *platform-name* (make-parameter "c-linux"))
165165

166166
;; Plugins loaded locally rather than through Racket.
167167
(define *loose-plugins* (make-parameter '()))
File renamed without changes.

0 commit comments

Comments
 (0)