parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

config-r1 (2242B)


      1 # Note: If you put paths relative to the home directory, do not forget
      2 # os.path.expanduser
      3 #
      4 # Any config setting <KEY> in this file can be overridden by setting the
      5 # EM_<KEY> environment variable. For example, settings EM_LLVM_ROOT override
      6 # the setting in this file.
      7 #
      8 # Note: On Windows, remember to escape backslashes! I.e. LLVM='c:\llvm\'
      9 # is not valid, but LLVM='c:\\llvm\\' and LLVM='c:/llvm/'
     10 # are.
     11 
     12 import os
     13 
     14 # This is used by external projects in order to find emscripten.  It is not used
     15 # by emscripten itself.
     16 EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN', 'GENTOO_PREFIX/usr/GENTOO_LIB/emscripten')) # directory
     17 
     18 LLVM_ROOT = os.path.expanduser(os.getenv('LLVM', 'GENTOO_PREFIX/usr/lib/llvm/12/bin')) # directory
     19 BINARYEN_ROOT = os.path.expanduser(os.getenv('BINARYEN', 'GENTOO_PREFIX/usr')) # directory
     20 
     21 # Location of the node binary to use for running the JS parts of the compiler.
     22 # This engine must exist, or nothing can be compiled.
     23 NODE_JS = os.path.expanduser(os.getenv('NODE', 'GENTOO_PREFIX/usr/bin/node')) # executable
     24 
     25 JAVA = 'java' # executable
     26 
     27 # added by the gentoo packager, and I don't know what I'm doing
     28 CACHE = os.path.expanduser(os.getenv('EMSCRIPTEN_CACHE', os.path.join(os.environ['TMPDIR'], 'emscripten-cache-{}'.format(os.getuid()))))
     29 
     30 ################################################################################
     31 #
     32 # Test suite options:
     33 #
     34 # Alternative JS engines to use during testing:
     35 #
     36 # SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY', 'js'))] # executable
     37 # V8_ENGINE = os.path.expanduser(os.getenv('V8', 'd8')) # executable
     38 #
     39 # All JS engines to use when running the automatic tests. Not all the engines in
     40 # this list must exist (if they don't, they will be skipped in the test runner).
     41 #
     42 # JS_ENGINES = [NODE_JS] # add V8_ENGINE or SPIDERMONKEY_ENGINE if you have them installed too.
     43 #
     44 # WASMER = os.path.expanduser(os.path.join('~', '.wasmer', 'bin', 'wasmer'))
     45 # WASMTIME = os.path.expanduser(os.path.join('~', 'wasmtime'))
     46 #
     47 # Wasm engines to use in STANDALONE_WASM tests.
     48 #
     49 # WASM_ENGINES = [] # add WASMER or WASMTIME if you have them installed
     50 #
     51 # Other options
     52 #
     53 # FROZEN_CACHE = True # never clears the cache, and disallows building to the cache