Skip to content

Instantly share code, notes, and snippets.

diff --git a/libguile/stime.c b/libguile/stime.c
index f430ca4..8b810a7 100644
--- a/libguile/stime.c
+++ b/libguile/stime.c
@@ -834,6 +834,10 @@ scm_init_stime()
#ifdef HAVE_POSIX_CPUTIME
{
+#ifdef __APPLE__
+ if (clock_gettime (CLOCK_PROCESS_CPUTIME_ID, &posix_run_time_base) == 0)
diff --git a/configure b/configure
index fdef550..7a7b2e4 100755
--- a/configure
+++ b/configure
@@ -1023,7 +1023,7 @@ then
if [ -n "$CFG_OSX_CLANG_VERSION" ]
then
case $CFG_OSX_CLANG_VERSION in
- (7.0* | 7.1* | 7.2* | 7.3*)
+ (7.0* | 7.1* | 7.2* | 7.3* | 8.0*)
def f():
l = []
def g(x):
l.append(x)
return l
return g
a = f()
b = f()

Keybase proof

I hereby claim:

  • I am rahulg on github.
  • I am rahulg (https://keybase.io/rahulg) on keybase.
  • I have a public key ASDLgVek4iC5HG3gH9dHIu4KYfb5O8bdHYD6NMNT1eBwEQo

To claim this, I am signing this object:

# Samples: 57 of event 'cpu-clock:uhpppH'
# Event count (approx.): 14250000
#
# Overhead Command Shared Object Symbol
# ........ .............. .................... ......................................................................................................................................................................................................
#
7.02% (redacted) ld-2.26.so [.] do_lookup_x
7.02% (redacted) libnss_files-2.26.so [.] internal_getent
5.26% (redacted) libresolv-2.26.so [.] __res_context_send
5.26% (redacted) (redacted) [.] (redacted)