sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 6966] New: We really could use a generic architecture variable somewhere...
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 6966] New: We really could use a generic architecture variable somewhere...
- Date: Tue, 8 Jun 2004 11:19:25 -0400
http://bugs.sourcemage.org/show_bug.cgi?id=6966
Summary: We really could use a generic architecture variable
somewhere...
Product: Sorcery
Version: Feature Request
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Unknown
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: ruskie AT email.si
I'm trying to make a CONFIGURE script for the dri spell...
Their host.cf file is very interesting... it has a separate defined for PPC,
i386 and amd64... now I try to do this in a CONFIGURE script but the only
$ARCHITECTURE variable I can get to be proper is for the amd64(x86_64)
What I would like is ti have a base architecture deinfed... currently we only
have the $ARCHITECTURE for compiling... Coulnd't something like
$BASE_ARCHITECTURE be added so that we would have easy to check on what
main architecture we're building...
Here's what's in the host.def file from dri
#if defined(PpcArchitecture)
#define XF86CardDrivers ati
#define DriDrivers r128 radeon r200
#elif defined(i386Architecture)
#define XF86CardDrivers tdfx i810 mga ati glint vga sis
#define DriDrivers r200 mga i810 r128 radeon gamma i830 sis tdfx ffb
#elif defined(AMD64Architecture)
#define XF86CardDrivers tdfx i810 mga ati glint vga sis
#define DriDrivers r200 mga i810 r128 radeon gamma i830 sis tdfx
#else
#define XF86CardDrivers tdfx mga ati glint vga
#define DriDrivers r200 tdfx mga r128 radeon gamma ffb
#endif
And here's what I'm trying to do...
if [ "uname -m | grep -q -e 'i.86'" ]; then
#ask the use for the nice drivers
config_query_option X11_ATI_DRIVER "" y "ati" ""
#ask the use for the nice dri drivers
config_query_option DRI_DRIVER "" y "radeon" ""else if [ "$ARCHITECTURE" ==
"ppc" ]; then
config_query_option X11_ATI_DRIVER "" y "ati" ""
config_query_option DRI_DRIVER "" y "radeon" ""
else if [ "$ARCHITECTURE" == "x86_64" ]; then
#ask the use for the nice drivers
config_query_option X11_ATI_DRIVER "" y "ati" ""
#ask the use for the nice dri drivers
config_query_option DRI_DRIVER "" y "radeon" ""
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 6966] New: We really could use a generic architecture variable somewhere..., bugzilla-daemon, 06/08/2004
Archive powered by MHonArc 2.6.24.