Compare commits

..

No commits in common. "97a1ff5186f6069b57086ab0e6e9512f69fa2bbf" and "7e1409596a7984b805002dacc3d2147f2827d6aa" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -16,7 +16,7 @@ protobuf_static_steamos:
- echo $BASE_PREFIX_PATH
- mkdir deps
- cd deps
- git clone --branch 21.x https://github.com/protocolbuffers/protobuf.git
- git clone https://github.com/protocolbuffers/protobuf.git
- cd protobuf
- sh autogen.sh
- ./configure "CC=gcc-4.9 -m32" "CXX=g++-4.9 -m32" CPPFLAGS="-fPIC -Ofast" CXXFLAGS="-fPIC -Ofast" --prefix=$BASE_PREFIX_PATH/protobuf/prefix_x86/ --disable-shared --enable-static

View File

@ -64,10 +64,7 @@ def generate_stats_achievements(schema, config_directory):
for s in stats_out:
default_num = 0
if (s['type'] == 'int'):
try:
default_num = int(s['default'])
except ValueError:
default_num = int(float(s['default']))
default_num = int(s['default'])
else:
default_num = float(s['default'])
output_stats += "{}={}={}\n".format(s['name'], s['type'], default_num)