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

replace uiop:version< with sb-ext:assert-version->= #1321

Merged
merged 1 commit into from
Oct 23, 2024
Merged
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
19 changes: 10 additions & 9 deletions coalton.asd
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
(:file "file")
(:file "prelude")))

(when (member (getenv "COALTON_PORTABLE_BIGFLOAT") '("1" "true" "t") :test 'equalp)
(pushnew :coalton-portable-bigfloat *features*))
(cl:when (cl:member (uiop:getenv "COALTON_PORTABLE_BIGFLOAT") '("1" "true" "t") :test #'cl:equalp)
(cl:pushnew ':coalton-portable-bigfloat cl:*features*))

(asdf:defsystem #:coalton/library/big-float
:description "An arbitrary precision floating point library."
Expand Down Expand Up @@ -163,13 +163,14 @@
;;; because 2.1.12 includes (or will include) a bugfix that allows a cleaner, more maintainable
;;; implementation.

(cl:if (uiop:featurep :sbcl)
(cl:pushnew
(cl:if (uiop:version< (cl:lisp-implementation-version)
"2.2.2")
:sbcl-pre-2-2-2
:sbcl-post-2-2-2)
cl:*features*))
#+sbcl
(cl:handler-case
(cl:progn
(sb-ext:assert-version->= 2 2 2)
(cl:pushnew ':sbcl-post-2-2-2 cl:*features*))
(cl:error (c)
(declare (ignore c))
(cl:pushnew ':sbcl-pre-2-2-2 cl:*features*)))

(asdf:defsystem #:coalton/hashtable-shim
:description "Shim over Common Lisp hash tables with custom hash functions, for use by the Coalton standard library."
Expand Down
Loading