Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#######
#
# E-scripts on terra.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
#   (find-eev-quick-intro)
#   http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/terra.e>
#           or at <http://angg.twu.net/e/terra.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/.emacs[.html]>,
#                 <http://angg.twu.net/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######





# «.build-from-git»	(to "build-from-git")




# (find-es "lua5" "that-compile-to-lua")

https://terralang.org/
https://github.com/terralang/terra/releases
https://github.com/terralang/terra





#####
#
# build-from-git
# 2021oct10
#
#####

# «build-from-git»  (to ".build-from-git")
# https://github.com/terralang/terra
# (find-git-links "https://github.com/terralang/terra" "terra")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# rm -Rfv ~/usrc/terra/
cd      ~/usrc/
git clone https://github.com/terralang/terra
cd      ~/usrc/terra/

# (find-fline "~/usrc/")
# (find-fline "~/usrc/terra/")
# (find-gitk  "~/usrc/terra/")

# (code-c-d "terra" "~/usrc/terra/")
# (find-terrafile "")
# (find-terrafile "README.md" "\nBuilding Terra")

sudo apt-get install llvm-11-dev libclang-11-dev
sudo apt-get install build-essential cmake git libedit-dev libncurses5-dev zlib1g-dev

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd ~/usrc/terra/
git reset

cd ~/usrc/terra/build
cmake -DCMAKE_INSTALL_PREFIX=$PWD/../install ..      |& tee ocm
make install -j1                                     |& tee omi

# (find-terrafile "build/ocm")
# (find-terrafile "build/omi")
# (find-terrafile "install/")
# (find-terrafile "install/bin/" "terra")
# (find-terrafile "install/share/terra/tests/")
# (find-terrafile "docs/")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd ~/usrc/terra/install/bin/
./terra





#  Local Variables:
#  coding:               utf-8-unix
#  End: