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

Remove notinline declaration in CCL #35

Closed
wants to merge 3 commits into from
Closed
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
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ jobs:
strategy:
matrix:
# clisp doesn't run on ubuntu VMs currently
lisp: [sbcl-bin,sbcl,ccl,ccl32,ecl,allegro,cmucl,abcl]
lisp: [sbcl-bin,ccl-bin/1.12.2,ecl,allegro/10.1express,cmu-bin/21e,abcl/1.9.2]
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: prepare
uses: 40ants/setup-lisp@v2
with:
roswell-version: v22.12.14.113
asdf-version: 3.3.6
- uses: actions/checkout@v3

- name: cache .roswell
id: cache-dot-roswell
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.roswell
key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }}
restore-keys: |
${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-
${{ runner.os }}-dot-roswell-

- name: install roswell
env:
LISP: ${{ matrix.lisp }}
run: curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh -x

- name: install parachute
run: |
ros install parachute
Expand Down
2 changes: 1 addition & 1 deletion toolkit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
:initial-contents thing))

(defun histogram (rng bins &key (samples (floor 1e8)) (width 80) (stream *standard-output*))
(declare (notinline random))
#-ccl(declare (notinline random))
(check-type samples (unsigned-byte 64))
(let ((histogram (make-array bins))
(sample-contribution (/ samples))
Expand Down