File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ def list_files(path):
45
45
'emucore/m6502/src/bspf/src environment games '
46
46
'games/supported external external/TinyMT' .split ()]
47
47
defines = []
48
+ cflags = []
49
+ ldflags = []
48
50
sources = [os .path .join ('atari_py' , 'ale_c_wrapper.cpp' ),
49
51
os .path .join (basepath , 'ale_interface.cpp' )]
50
52
includes = ['atari_py' , basepath , os .path .join (basepath , 'os_dependent' )]
@@ -68,17 +70,21 @@ def list_files(path):
68
70
sources .append (os .path .join (basepath , 'os_dependent' , fname ))
69
71
# disable msvc secure warnings
70
72
defines .append (('_CRT_SECURE_NO_WARNINGS' , None ))
73
+ cflags += ['/O2' , '/GL' , '/GF' , '/EHs-' ]
74
+ ldflags += ['/LTCG' ]
71
75
72
76
73
77
ale_c = Library ('ale_c' ,
74
78
define_macros = defines ,
79
+ extra_compile_args = cflags ,
80
+ extra_link_args = ldflags ,
75
81
sources = sources ,
76
82
include_dirs = includes ,
77
83
)
78
84
79
85
80
86
setup (name = 'atari-py' ,
81
- version = '1.2.1 ' ,
87
+ version = '1.2.2 ' ,
82
88
description = 'Python bindings to Atari games' ,
83
89
url = 'https://github.com/openai/atari-py' ,
84
90
author = 'OpenAI' ,
You can’t perform that action at this time.
0 commit comments