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
27617670
Commit
27617670
authored
10 years ago
by
Alfredo Gimenez
Browse files
Options
Downloads
Patches
Plain Diff
qt with hardware accelerated opengl working
parent
9e878075
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
var/spack/packages/icu4c/package.py
+17
-0
17 additions, 0 deletions
var/spack/packages/icu4c/package.py
var/spack/packages/qt/package.py
+18
-2
18 additions, 2 deletions
var/spack/packages/qt/package.py
var/spack/packages/ruby/package.py
+16
-0
16 additions, 0 deletions
var/spack/packages/ruby/package.py
with
51 additions
and
2 deletions
var/spack/packages/icu4c/package.py
0 → 100644
+
17
−
0
View file @
27617670
from
spack
import
*
class
Icu4c
(
Package
):
"""
ICU is a mature, widely used set of C/C++ and Java libraries
providing Unicode and Globalization support for software applications.
"""
homepage
=
"
http://site.icu-project.org/
"
url
=
"
http://downloads.sourceforge.net/project/icu/ICU4C/54.1/icu4c-54_1-src.tgz
"
version
(
'
54_1
'
,
'
e844caed8f2ca24c088505b0d6271bc0
'
)
def
install
(
self
,
spec
,
prefix
):
cd
(
"
source
"
)
configure
(
"
--prefix=%s
"
%
prefix
)
make
()
make
(
"
install
"
)
This diff is collapsed.
Click to expand it.
var/spack/packages/qt/package.py
+
18
−
2
View file @
27617670
from
spack
import
*
from
spack
import
*
import
os
class
Qt
(
Package
):
class
Qt
(
Package
):
"""
Qt is a comprehensive cross-platform C++ application framework.
"""
"""
Qt is a comprehensive cross-platform C++ application framework.
"""
...
@@ -29,7 +30,16 @@ class Qt(Package):
...
@@ -29,7 +30,16 @@ class Qt(Package):
depends_on
(
"
libmng
"
)
depends_on
(
"
libmng
"
)
depends_on
(
"
jpeg
"
)
depends_on
(
"
jpeg
"
)
depends_on
(
"
gperf
"
)
# Needed to build Qt with webkit.
# Webkit
# depends_on("gperf")
# depends_on("flex")
# depends_on("bison")
# depends_on("ruby")
# depends_on("icu4c")
# OpenGL hardware acceleration
depends_on
(
"
mesa
"
)
depends_on
(
"
libxcb
"
)
def
patch
(
self
):
def
patch
(
self
):
if
self
.
spec
.
satisfies
(
'
@4
'
):
if
self
.
spec
.
satisfies
(
'
@4
'
):
...
@@ -46,13 +56,19 @@ def patch(self):
...
@@ -46,13 +56,19 @@ def patch(self):
def
install
(
self
,
spec
,
prefix
):
def
install
(
self
,
spec
,
prefix
):
# Apparently this is the only way to
# "truly" get rid of webkit compiles now...
os
.
rename
(
"
qtwebkit
"
,
"
no-qtwebkit
"
)
os
.
rename
(
"
qtwebkit-examples
"
,
"
no-qtwebkit-examples
"
)
configure
(
'
-v
'
,
configure
(
'
-v
'
,
'
-confirm-license
'
,
'
-confirm-license
'
,
'
-opensource
'
,
'
-opensource
'
,
'
-prefix
'
,
prefix
,
'
-prefix
'
,
prefix
,
'
-openssl-linked
'
,
'
-openssl-linked
'
,
'
-dbus-linked
'
,
'
-dbus-linked
'
,
'
-fast
'
,
#'-fast',
'
-opengl
'
,
'
-qt-xcb
'
,
'
-optimized-qmake
'
,
'
-optimized-qmake
'
,
'
-no-pch
'
,
'
-no-pch
'
,
# phonon required for py-pyqt4
# phonon required for py-pyqt4
...
...
This diff is collapsed.
Click to expand it.
var/spack/packages/ruby/package.py
0 → 100644
+
16
−
0
View file @
27617670
from
spack
import
*
class
Ruby
(
Package
):
"""
A dynamic, open source programming language with a focus on
simplicity and productivity.
"""
homepage
=
"
https://www.ruby-lang.org/
"
url
=
"
http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.0.tar.gz
"
version
(
'
2.2.0
'
,
'
cd03b28fd0b555970f5c4fd481700852
'
)
def
install
(
self
,
spec
,
prefix
):
configure
(
"
--prefix=%s
"
%
prefix
)
make
()
make
(
"
install
"
)
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