Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
ad8418fb
Unverified
Commit
ad8418fb
authored
4 years ago
by
Toyohisa Kameyama
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
libluv: New package. (#18100)
parent
b3535d90
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/libluv/package.py
+30
-0
30 additions, 0 deletions
var/spack/repos/builtin/packages/libluv/package.py
with
30 additions
and
0 deletions
var/spack/repos/builtin/packages/libluv/package.py
0 → 100644
+
30
−
0
View file @
ad8418fb
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from
spack
import
*
class
Libluv
(
CMakePackage
):
"""
This library makes libuv available to lua scripts.
It was made for the luvit project but should usable from nearly
any lua project.
"""
homepage
=
"
https://github.com/luvit/luv
"
url
=
"
https://github.com/luvit/luv/releases/download/1.36.0-0/luv-1.36.0-0.tar.gz
"
version
(
'
1.36.0-0
'
,
sha256
=
'
f2e7eb372574f25c6978c1dc74280d22efdcd7df2dda4a286c7fe7dceda26445
'
)
depends_on
(
'
lua
'
,
type
=
'
link
'
)
depends_on
(
'
libuv
'
,
type
=
'
link
'
)
def
cmake_args
(
self
):
args
=
[
'
-DLUA_BUILD_TYPE=System
'
,
'
-DBUILD_STATIC_LIBS=ON
'
,
'
-DBUILD_SHARED_LIBS=ON
'
,
'
-DWITH_SHARED_LIBUV=ON
'
,
'
-DWITH_LUA_ENGINE=Lua
'
,
]
return
args
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment