The build failed after Arch Linux updated LLVM to version 21.1.4-1, since this program assumes LLVM 20 or earlier. However, it seems to work as expected when the --with-incompatible-llvm option is added to the configure script.
Search Criteria
Package Details: smlsharp 4.2.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/smlsharp.git (read-only, click to copy) |
|---|---|
| Package Base: | smlsharp |
| Description: | A new programming language in the Standard ML family |
| Upstream URL: | https://smlsharp.github.io/ |
| Licenses: | MIT |
| Submitter: | None |
| Maintainer: | xuanruiqi |
| Last Packager: | xuanruiqi |
| Votes: | 7 |
| Popularity: | 0.000000 |
| First Submitted: | 2008-08-26 17:15 (UTC) |
| Last Updated: | 2025-06-28 21:23 (UTC) |
Dependencies (4)
- gmp (gmp-hgAUR)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR)
- massivethreadsAUR (massivethreads-binAUR)
- chrpath (chrpath-gitAUR) (make)
Required by (0)
Sources (2)
Latest Comments
yangniao23 commented on 2025-10-27 04:32 (UTC)
omasanori commented on 2021-11-29 00:06 (UTC)
I published a patch for the build problem with LLVM 13: https://github.com/smlsharp/smlsharp/pull/71
omasanori commented on 2021-11-25 05:01 (UTC)
SML# 4.0.0 is incompatible with LLVM 13 and fails to build even if you add --with-incompatible-llvm to ./configure. The error message is below:
g++ -I/usr/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -c -o src/llvm/main/smlsharp_gc-13.0.o ./src/llvm/main/smlsharp_gc.cpp
./src/llvm/main/smlsharp_gc.cpp:11:10: fatal error: llvm/CodeGen/GCStrategy.h: No such file or directory
11 | #include <llvm/CodeGen/GCStrategy.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
xuanruiqi commented on 2019-07-11 06:20 (UTC) (edited on 2019-07-11 06:20 (UTC) by xuanruiqi)
Since SML# along with all its dependencies takes a very long time to build, prebuilt packages are available in my personal repository (see this page).
xuanruiqi commented on 2018-12-29 01:27 (UTC)
I have now updated the package to version 3.4 and added check() to run some tests. It builds and installs well on my machine. Please test if it works on your machine. Thank you!
xuanruiqi commented on 2018-12-27 07:56 (UTC)
I can maintain this package. As far as I understand, I can simply add a llvm37 package that packages LLVM 3.7 which is required for SML# (or, perhaps, add it to the sources of SML#).
yuki-san commented on 2018-12-24 06:32 (UTC)
Hi, xuanruiqi.
I suspend to support this package. If you maintain this, I will disown this package.
To my understanding, main concern is that required LLVM package is obsolute now.
xuanruiqi commented on 2018-12-24 00:46 (UTC)
Hi yuki-san, are you still maintaining this package?
Pinned Comments
xuanruiqi commented on 2019-07-11 06:20 (UTC) (edited on 2019-07-11 06:20 (UTC) by xuanruiqi)
Since SML# along with all its dependencies takes a very long time to build, prebuilt packages are available in my personal repository (see this page).