Skip to content

Commit

Permalink
Pasteurize SConstruct3 and rename it SConstruct.
Browse files Browse the repository at this point in the history
  • Loading branch information
markito3 committed Oct 19, 2020
1 parent cf1f4bd commit fe1c48f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 188 deletions.
13 changes: 11 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@

from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

from builtins import int
from builtins import str
from builtins import map
from future import standard_library
standard_library.install_aliases()
import os
import sys
import subprocess
Expand All @@ -20,7 +29,7 @@ osname = os.getenv('BMS_OSNAME', 'build')

# Get gcc major version
proc=subprocess.Popen('./gccversion.sh', shell=True, stdout=subprocess.PIPE, )
gcc_version_str=proc.communicate()[0]
gcc_version_str=str(proc.communicate()[0], 'utf-8')
gcc_version = int(gcc_version_str.rstrip("\n"))
print('gcc_version =', gcc_version)

Expand Down
186 changes: 0 additions & 186 deletions SConstruct3

This file was deleted.

0 comments on commit fe1c48f

Please sign in to comment.