(define (build-core-pkg name vers)
(let ((sarch build-scheme-architecture)
(pkgdir (string build-dir"/"name"-"vers))
- (options (if (string-prefix? "svm1" build-scheme-architecture)
- " --enable-native-code=svm1"
+ (options (if (string-prefix? "svm" build-scheme-architecture)
+ (string " --enable-native-code="build-scheme-architecture)
"")))
(run "rm -rf "pkgdir)
(run "cd "build-dir" && tar xzf "name"-"vers".tar.gz")
(let ((arch (host-scheme-architecture host)))
(cond ((string=? "x86-64" arch) "amd64")
((string=? "i386" arch) "i386")
- ((string=? "svm1-32" arch) #f)
- ((string=? "svm1-64" arch) #f)
+ ((string=? "svm1-32le" arch) #f)
+ ((string=? "svm1-32be" arch) #f)
+ ((string=? "svm1-64le" arch) #f)
+ ((string=? "svm1-64be" arch) #f)
(else (error "Unknown host architecture:" arch)))))
(define (host-ubuntu-codename host)