diff --git a/src/pystencils_autodiff/tensorflow_jit.py b/src/pystencils_autodiff/tensorflow_jit.py index 4bf3a859a2ce0c40a53816f4edeb026d400c5262..f0257d6580d3eaa2d6bfadfbf19fc575de03beae 100644 --- a/src/pystencils_autodiff/tensorflow_jit.py +++ b/src/pystencils_autodiff/tensorflow_jit.py @@ -29,13 +29,13 @@ if get_compiler_config()['os'] != 'windows': _include_flags = ['-I' + sysconfig.get_paths()['include'], '-I' + get_pystencils_include_path()] _do_not_link_flag = "-c" _position_independent_flag = "-fPIC" - get_compiler_config()['command'] = 'cl.exe' else: _do_not_link_flag = "/c" _output_flag = '/OUT:' _shared_object_flag = '/DLL' _include_flags = ['/I' + sysconfig.get_paths()['include'], '/I' + get_pystencils_include_path()] _position_independent_flag = "/DTHIS_FLAG_DOES_NOTHING" + get_compiler_config()['command'] = 'cl.exe' try: