-
git clone --single-branch --depth 1 https://github.com/drmeister/externals-clasp
-
cd externals-clasp
-
cp local.config.linux local.config
-
use
externals-clasp.local.config
from below as file content oflocal.config
-
make
-
cd ..
-
git clone --single-branch --depth 1 https://github.com/drmeister/clasp
-
cd clasp
-
cp local.config.linux local.config
-
use
clasp.local.config
from below as file content oflocal.config
-
Use 1 or 2 Jobs, make sure you have around 12-6GB of RAM in total by closing other processes and maybe activating extra swap
-
make
Last active
August 29, 2015 14:07
-
-
Save wasamasa/a5f19b7e81f133bb4f77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# What system are you building on? linux or darwin | |
# | |
export TARGET_OS = linux | |
# | |
# This defines where clasp should put the built clasp application | |
# | |
export CLASP_BUILD_TARGET_DIR = $(HOME)/.local/clasp | |
# | |
# This defines where externals-clasp put the built libraries | |
# that clasp needs | |
# | |
export EXTERNALS_BUILD_TARGET_DIR = $(HOME)/.local/externals-clasp | |
# | |
# This defines how many processors you have available to build with | |
# More processors = faster build | |
# | |
export PJOBS = 2 | |
# --- Dont change the stuff below --- | |
export LINK = static | |
export ADDRESS-MODEL = 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# What system are you building on? linux or darwin | |
# | |
export TARGET_OS = linux | |
# | |
# This defines where externals-clasp will put the built libraries | |
# that clasp needs | |
# | |
export EXTERNALS_BUILD_TARGET_DIR = $(HOME)/.local/externals-clasp | |
# | |
# This defines how many processors you have available to build with | |
# More processors = faster build | |
# | |
export PJOBS = 2 | |
# | |
# This defines where gcc lives | |
# the gcc executable needs to be at $(GCC_TOOLCHAIN)/bin/gcc | |
# the g++ executable needs to be at $(GCC_TOOLCHAIN)/bin/g++ | |
# | |
export GCC_TOOLCHAIN = /usr | |
#export GCC_EXECUTABLE = <put something here if gcc is not $(GCC_TOOLCHAIN)/bin/gcc> | |
#export GXX_EXECUTABLE = <put something here if g++ is not $(GCC_TOOLCHAIN)/bin/g++> | |
# | |
# ------- Only change if you know what you are doing ------- | |
# | |
export TOOLSET = gcc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment