RELEASE: Add dummy cpu to make SCons + Python 2.5 happy
authorAli Saidi <saidi@eecs.umich.edu>
Fri, 2 Nov 2007 06:26:13 +0000 (02:26 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Fri, 2 Nov 2007 06:26:13 +0000 (02:26 -0400)
--HG--
extra : convert_revision : 85ca7d737a7592946bedb7d1724aefa62ad1231e

util/make_release.py

index f1473483d4715fc1e92de5b06fe76ff7253b59ae..fc97164e42c616097be2d4b02fb239068f9de8e8 100755 (executable)
@@ -224,6 +224,11 @@ for bench in benches:
 rmtree(release_dir, 'tests/test-progs/anagram')
 rmtree(release_dir, 'tests/quick/20.eio-short')
 
+f = open('src/cpu/SConsopts', 'w+')
+f.writelines(("Import('*')\n", "all_cpu_list.append('DummyCPUMakeSconsHappy')\n"))
+f.close()
+
+
 def taritup(directory, destdir, filename):
     basedir = dirname(directory)
     tarball = joinpath(destdir, filename)