pile of dependencies for neovim, including luajit and libuv
This commit is contained in:
15
var/spack/repos/builtin/packages/LuaJIT/package.py
Normal file
15
var/spack/repos/builtin/packages/LuaJIT/package.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import os
|
||||
from spack import *
|
||||
|
||||
class Luajit(Package):
|
||||
"""Flast flexible JITed lua"""
|
||||
homepage = "http://www.luajit.org"
|
||||
url = "http://luajit.org/download/LuaJIT-2.0.4.tar.gz"
|
||||
|
||||
version('2.0.4', 'dd9c38307f2223a504cbfb96e477eca0')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
# Linking with the C++ compiler is a dirty hack to deal with the fact
|
||||
# that unwinding symbols are not included by libc, this is necessary
|
||||
# on some platforms for the final link stage to work
|
||||
make("install", "PREFIX=" + prefix, "TARGET_LD=" + os.environ['CXX'])
|
Reference in New Issue
Block a user