I'm not completely certain as I've never done it, but looking at the  
error message I would guess that a line like:
all_cpu_list.append('MyCPU')
isn't is a SConsopts file.

If that isn't the problem hopefully Kevin or Korey will respond with a  
better answer.
Ali


dOn Jul 17, 2008, at 7:19 PM, Meng-Ju Wu wrote:

> Hi all,
>
> I followed every instructions on the Web (Defining CPU Models beta 4)
> to create a new CPU model in the beta 5. But I got the error. Is the
> way to define the new CPU model in beta5 changed? My SCons version is
> v0.96.92.D002.
>
> Many thanks,
>
> Meng-Ju
>
> mjwu:~/m5-2.0b5-mt: scons build/ALPHA_SE/m5.debug CPU_MODELS=MyCPU
> scons: Reading SConscript files ...
> Checking for C header file Python.h... yes
> Adding /homes/mjwu/local/lib to LIBPATH for python2.4
> Checking for main() in C library python2.4... yes
> Checking for accept(0,0,0) in C++ library None... yes
> Checking for zlibVersion() in C++ library z... yes
> Checking for C header file fenv.h... yes
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/cpu/mycpu/SConsopts
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/cpu/o3/SConsopts
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/cpu/simple/SConsopts
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/arch/mips/SConsopts
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/arch/alpha/SConsopts
> Reading /import/home1/mjwu/m5-2.0b5-mt/src/arch/sparc/SConsopts
> Building in /import/home1/mjwu/m5-2.0b5-mt/build/ALPHA_SE
> Options file /import/home1/mjwu/m5-2.0b5-mt/build/options/ALPHA_SE  
> not found,
>  using defaults in build_opts/ALPHA_SE
>
> scons: *** Error converting option: CPU_MODELS
> Invalid value(s) for option: MyCPU
> File "SConstruct", line 742, in ?
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>

_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to