Skip to content

Commit

Permalink
reference to savanna removed
Browse files Browse the repository at this point in the history
  • Loading branch information
LutzGross committed Sep 19, 2024
1 parent 374dde9 commit a8fd21c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 153 deletions.
6 changes: 2 additions & 4 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ options_file=ARGUMENTS.get('options_file', None)
if not options_file:
ext_dir = os.path.join(os.getcwd(), 'scons')
hostname = platform.node().split('.')[0]
for name in hostname, effectiveName(hostname):
mangledhostname = re.sub('[^0-9a-zA-Z]', '_', hostname)
options_file = os.path.join(ext_dir, mangledhostname+'_options.py')
if os.path.isfile(options_file): break
mangledhostname = re.sub('[^0-9a-zA-Z]', '_', hostname)
options_file = os.path.join(ext_dir, mangledhostname+'_options.py')

if not os.path.isfile(options_file):
print("\nWARNING:\nOptions file %s" % options_file)
Expand Down
71 changes: 0 additions & 71 deletions scons/savanna_options.py

This file was deleted.

72 changes: 0 additions & 72 deletions scons/savanna_trilinosmake.sh

This file was deleted.

6 changes: 0 additions & 6 deletions site_scons/site_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,6 @@ def eps2pdf(target, source, env):
return 1
return None

def effectiveName(inname):
m=re.compile("^r1i[0-9]{1,2}n[0-9]{1,2}$") # savanna names take the form r1i?n?
if m.match(inname):
return "savanna"
return inname

def osxlib_dep_rewrite(libname, targetdir, env):
if env.Execute("tools/libmover.sh %s %s"%(libname, targetdir)):
return 1
Expand Down

0 comments on commit a8fd21c

Please sign in to comment.