plops / play_with_clasp

Build and play with clasp common lisp on Linux AMD64. You can download the compiled release.
0 stars 0 forks source link

+begin_example

emacs /etc/portage/package.accept_keywords

add the following lines

sys-devel/clang ~amd64 sys-devel/clang-runtime ~amd64 sys-devel/llvm ~amd64 sys-libs/compiler-rt ~amd64 sys-libs/compiler-rt-sanitizers ~amd64 sys-libs/libomp ~amd64

sudo emerge -av =clang-13.0.0 sudo emerge -av dev-libs/boehm-gc sudo ln -s /usr/lib/llvm/13/bin/llvm-config /usr/lib/llvm/13/bin/llvm-config-13.0-64 export PATH=$PATH:/usr/lib/llvm/13/bin/

can't compile in imgui

cd clasp/extensions; git clone https://github.com/clasp-developers/imgui-clasp

sudo ln -s /usr/lib64/libGL.so /usr/lib64/libgl.so

https://clasp-developers.github.io/building.html

./waf distclean # (1) ./waf configure # (2)

emacs wscript

edit out the following lines

clangASTMatchers ... clangBasic

and write one line with 'clang', 'clang-cpp'

./waf build_dboehmprecise # (3) build/boehmprecise/clasp

+end_example

cd ~/src tar czf clasp-boehmprecise-0.4.2-4829-g392cd449a.tar.gz clasp [martin@localhost src]$ ls -ltrh clasp-boehmprecise-0.4.2-4829-g392cd449a.tar.gz -rw-rw-r--. 1 martin martin 191M Oct 31 23:57 clasp-boehmprecise-0.4.2-4829-g392cd449a.tar.gz

+end_example