From 159e0bfdbb135e74aac10e54c7a499e9e34aa5a2 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Mon, 17 Jun 2019 03:38:27 +0200 Subject: Rework libghdl build/install procedure (#840) * feat(libghdl): add libghdl_pkg.py, add option to generate libghdl-py.tgz with dist/travis/build.sh * libghdl*.so is now part of GHDL * move python sources to python/libghdl and python/pnodes * rename src/vhdl/python to src/vhdl/libghdl * add generation of tarball for libghdl-py to the makefile * deprecate --enable-python and --disable-python * add configuration option --disable-libghdl * feat(python/libghdl): add support for LIBGHDL_PREFIX (#844) * fix(travis): disable libghdl on mac * feat(python/libghdl): add support for GHDL_BIN_PATH and VUNIT_GHDL_PATH --- src/vhdl/python/libghdl/thin/files_map.py | 41 ------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/vhdl/python/libghdl/thin/files_map.py (limited to 'src/vhdl/python/libghdl/thin/files_map.py') diff --git a/src/vhdl/python/libghdl/thin/files_map.py b/src/vhdl/python/libghdl/thin/files_map.py deleted file mode 100644 index b0029b0a4..000000000 --- a/src/vhdl/python/libghdl/thin/files_map.py +++ /dev/null @@ -1,41 +0,0 @@ -from libghdl import libghdl -from ctypes import c_void_p - -EOT = b'\x04' - -No_Source_File_Entry = 0 - -No_Location = 0 - -Location_To_File = libghdl.files_map__location_to_file - -Location_File_To_Pos = libghdl.files_map__location_file_to_pos - -Location_File_To_Line = libghdl.files_map__location_file_to_line - -Location_File_Line_To_Offset = \ - libghdl.files_map__location_file_line_to_offset - -Location_File_Line_To_Col = libghdl.files_map__location_file_line_to_col - -File_To_Location = libghdl.files_map__file_to_location - -File_Pos_To_Location = libghdl.files_map__file_pos_to_location - -File_Line_To_Position = libghdl.files_map__file_line_to_position - -Get_File_Name = libghdl.files_map__get_file_name - -Get_Directory_Name = libghdl.files_map__get_directory_name - -Get_File_Buffer = libghdl.files_map__get_file_buffer -Get_File_Buffer.restype = c_void_p - -Get_File_Length = libghdl.files_map__get_file_length -Set_File_Length = libghdl.files_map__set_file_length - -Read_Source_File = libghdl.files_map__read_source_file - -Reserve_Source_File = libghdl.files_map__reserve_source_file - -Get_Last_Source_File_Entry = libghdl.files_map__get_last_source_file_entry -- cgit v1.2.3