File tree Expand file tree Collapse file tree 3 files changed +28
-5
lines changed
Expand file tree Collapse file tree 3 files changed +28
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export OPAMYES=1
55
66NCPU=" $( getconf _NPROCESSORS_ONLN 2> /dev/null || echo 1) "
77OCAML_VERSION=" 5.3.0"
8- OPTIMUZZ_OPAM_SWITCH=optimuzz-" $OCAML_VERSION "
8+ export OPTIMUZZ_OPAM_SWITCH=" optimuzz-$OCAML_VERSION "
99opam init --reinit --bare --no-setup
1010
1111switch_exists=no
2222 opam switch $OPTIMUZZ_OPAM_SWITCH
2323fi
2424
25- eval $( SHELL=bash opam config env --switch=$OPTIMUZZ_OPAM_SWITCH )
25+ eval $( SHELL=bash opam env --switch=$OPTIMUZZ_OPAM_SWITCH )
2626opam pin https://github.com/prosyslab/logger.git
27- opam install -j $NCPU dune logger domainslib progress ocamlgraph
28- opam install -j $NCPU ocamlformat merlin ocp-index ocp-indent ocaml-lsp-server # for development
29- scripts/llvm-20 .sh
27+ opam install -j $NCPU dune ctypes domainslib progress ocamlgraph ocamlformat merlin ocp-index ocp-indent ocaml-lsp-server
28+ scripts/llvm20.sh
29+ scrtips/alive .sh
3030
3131make
3232# opam install -j $NCPU llvm.16.0.6+nnp
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ echo " LLVM_PATH: $LLVM_PATH "
6+
7+ git submodule update --init --remote alive2
8+
9+ pushd alive2
10+ git checkout v20.0
11+
12+ rm -rf build
13+ mkdir -p build
14+
15+ pushd build
16+ cmake -GNinja -DCMAKE_PREFIX_PATH=" $LLVM_PATH " -DBUILD_TV=1 -DCMAKE_BUILD_TYPE=Release ..
17+ ninja
18+ popd
19+ popd
Original file line number Diff line number Diff line change 44
55export OPAMYES=1
66
7+ set -e
8+
79echo $LLVM_PATH
810opam switch
11+ eval $( opam env)
912
1013opam install ctypes
1114
@@ -29,6 +32,7 @@ cmake -G Ninja ../llvm \
2932 -DLLVM_ENABLE_DOXYGEN=OFF \
3033 -DLLVM_ENABLE_OCAMLDOC=OFF \
3134 -DLLVM_OCAML_INSTALL_PATH=" $( opam var lib) "
35+ ninja
3236sudo ninja install
3337popd
3438popd
You can’t perform that action at this time.
0 commit comments