Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
virgl-es
mesa
Commits
81b6a801
Commit
81b6a801
authored
Feb 06, 2008
by
José Fonseca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gallium: Update scons instructions. Propagate user environment.
parent
a31d289d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
SConstruct
SConstruct
+5
-3
No files found.
SConstruct
View file @
81b6a801
...
...
@@ -11,7 +11,7 @@ import sys
#
# For example, invoke scons as
#
# scons debug=1 dri=0
x86=1
# scons debug=1 dri=0
machine=x86
#
# to set configuration variables. Or you can write those options to a file
# named config.py:
...
...
@@ -19,7 +19,7 @@ import sys
# # config.py
# debug=1
# dri=0
#
x86=1
#
machine='x86'
#
# Invoke
#
...
...
@@ -35,7 +35,9 @@ opts.Add(BoolOption('dri', 'build dri drivers', False))
opts
.
Add
(
EnumOption
(
'machine'
,
'use machine-specific assembly code'
,
'x86'
,
allowed_values
=
(
'generic'
,
'x86'
,
'x86-64'
)))
env
=
Environment
(
options
=
opts
)
env
=
Environment
(
options
=
opts
,
ENV
=
os
.
environ
)
Help
(
opts
.
GenerateHelpText
(
env
))
# for debugging
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment