![]() |
Rosetta
2016.19
|
Functions | |
| def | is_dir_banned |
| def | get_rosetta_include_directories |
| def | get_defines |
| def | execute |
| def | update_source_file |
| def | get_compiler_family |
| def | get_binding_build_root |
| def | generate_rosetta_external_cmake_files |
| def | generate_rosetta_cmake_files |
| def | generate_cmake_file |
| def | generate_bindings |
| def | build_generated_bindings |
| def | main |
Variables | |
| tuple | PlatformBits = platform.architecture() |
| string | _banned_dirs_ = 'src/utility/pointer src/protocols/jd3' |
| string | _banned_headers_ = 'utility/py/PyHelper.hh utility/keys/KeyCount.hh utility/keys/KeyLookup.functors.hh' |
| def build.build_generated_bindings | ( | rosetta_source_path | ) |
Build generate bindings
References execute(), BuildPackagedBindings.format, and get_binding_build_root().
Referenced by main().
| def build.execute | ( | message, | |
| command_line, | |||
return_ = 'status', |
|||
until_successes = False, |
|||
terminate_on_failure = True |
|||
| ) |
References BuildPackagedBindings.format, and fmt.print().
Referenced by build_generated_bindings(), and generate_bindings().
| def build.generate_bindings | ( | rosetta_source_path | ) |
Generate bindings using binder tools and return list of source files
References execute(), BuildPackagedBindings.format, generate_cmake_file(), get_binding_build_root(), get_defines(), get_rosetta_include_directories(), is_dir_banned(), extract_scores_and_constraints.join, ObjexxFCL.len(), basic::database.open(), ObjexxFCL.read(), and binder.split().
Referenced by main().
| def build.generate_cmake_file | ( | rosetta_source_path, | |
| extra_sources | |||
| ) |
generate cmake file in bindings source location
References BuildPackagedBindings.format, generate_rosetta_cmake_files(), generate_rosetta_external_cmake_files(), get_binding_build_root(), get_defines(), get_rosetta_include_directories(), extract_scores_and_constraints.join, basic::database.open(), ObjexxFCL.read(), and update_source_file().
Referenced by generate_bindings().
| def build.generate_rosetta_cmake_files | ( | rosetta_source_path, | |
| prefix | |||
| ) |
References BuildPackagedBindings.format, extract_scores_and_constraints.join, key, ObjexxFCL.len(), basic::database.open(), and update_source_file().
Referenced by generate_cmake_file().
| def build.generate_rosetta_external_cmake_files | ( | rosetta_source_path, | |
| prefix | |||
| ) |
| def build.get_binding_build_root | ( | rosetta_source_path, | |
source = False, |
|||
build = False |
|||
| ) |
Calculate bindings build path using current platform and compilation settings and create dir if it is not there yet
References get_compiler_family().
Referenced by build_generated_bindings(), generate_bindings(), generate_cmake_file(), and main().
| def build.get_compiler_family | ( | ) |
Try to guess compiler family using Options.compiler
Referenced by get_binding_build_root().
| def build.get_defines | ( | ) |
return list of #defines
References binder.split().
Referenced by generate_bindings(), and generate_cmake_file().
| def build.get_rosetta_include_directories | ( | ) |
return list of include directories for compilation
References binder.split().
Referenced by generate_bindings(), and generate_cmake_file().
| def build.is_dir_banned | ( | directory | ) |
Referenced by generate_bindings().
| def build.main | ( | args | ) |
PyRosetta building script
References build_generated_bindings(), generate_bindings(), get_binding_build_root(), and fmt.print().
| def build.update_source_file | ( | file_name, | |
| data | |||
| ) |
write data to a file but only if file does not exist or it content different from data
References basic::database.open(), fmt.print(), and ObjexxFCL.read().
Referenced by generate_cmake_file(), generate_rosetta_cmake_files(), and generate_rosetta_external_cmake_files().
| string build._banned_dirs_ = 'src/utility/pointer src/protocols/jd3' |
| string build._banned_headers_ = 'utility/py/PyHelper.hh utility/keys/KeyCount.hh utility/keys/KeyLookup.functors.hh' |
| tuple build.PlatformBits = platform.architecture() |
1.8.7