mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 02:44:50 +00:00
Avoind name clashing in modtool and other minor fixes
Version bump to 0.0.9git, fixed link in README
This commit is contained in:
parent
b96d1707a9
commit
4c5980d3a2
@ -49,7 +49,7 @@ message(STATUS "Build type set to ${CMAKE_BUILD_TYPE}.")
|
|||||||
|
|
||||||
set(VERSION_INFO_MAJOR_VERSION 0)
|
set(VERSION_INFO_MAJOR_VERSION 0)
|
||||||
set(VERSION_INFO_MINOR_VERSION 0)
|
set(VERSION_INFO_MINOR_VERSION 0)
|
||||||
set(VERSION_INFO_MAINT_VERSION 9)
|
set(VERSION_INFO_MAINT_VERSION 9.git)
|
||||||
include(VolkVersion) #setup version info
|
include(VolkVersion) #setup version info
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ This figure shows the role of some VOLK_GNSSSDR kernels in the context of a GNSS
|
|||||||
|
|
||||||
If you use VOLK_GNSSSDR in your research and/or software, please cite the following paper:
|
If you use VOLK_GNSSSDR in your research and/or software, please cite the following paper:
|
||||||
|
|
||||||
* C. Fernández-Prades, J. Arribas, P. Closas, [*Accelerating GNSS Software Receivers*](https://zenodo.org/record/266493#.WJR8j7bhB89), in Proc. of the ION GNSS+ 2016 Conference, pp. 44-61, Portland, Oregon, Sept. 12-16, 2016.
|
* C. Fernández-Prades, J. Arribas, P. Closas, [*Accelerating GNSS Software Receivers*](https://zenodo.org/record/266493), in Proc. of the ION GNSS+ 2016 Conference, pp. 44-61, Portland, Oregon, Sept. 12-16, 2016.
|
||||||
|
|
||||||
Citations are useful for the continued development and maintenance of the library.
|
Citations are useful for the continued development and maintenance of the library.
|
||||||
|
|
||||||
|
@ -102,6 +102,9 @@ class volk_gnsssdr_modtool:
|
|||||||
os.makedirs(os.path.join(self.my_dict['destination'], 'volk_gnsssdr_' + self.my_dict['name'], 'kernels/volk_gnsssdr_' + self.my_dict['name']))
|
os.makedirs(os.path.join(self.my_dict['destination'], 'volk_gnsssdr_' + self.my_dict['name'], 'kernels/volk_gnsssdr_' + self.my_dict['name']))
|
||||||
|
|
||||||
current_kernel_names = self.get_current_kernels();
|
current_kernel_names = self.get_current_kernels();
|
||||||
|
need_ifdef_updates = ["constant.h", "volk_complex.h", "volk_malloc.h", "volk_prefs.h",
|
||||||
|
"volk_common.h", "volk_cpu.tmpl.h", "volk_config_fixed.tmpl.h",
|
||||||
|
"volk_typedefs.h", "volk.tmpl.h"]
|
||||||
|
|
||||||
for root, dirnames, filenames in os.walk(self.my_dict['base']):
|
for root, dirnames, filenames in os.walk(self.my_dict['base']):
|
||||||
for name in filenames:
|
for name in filenames:
|
||||||
@ -111,8 +114,14 @@ class volk_gnsssdr_modtool:
|
|||||||
infile = os.path.join(root, name);
|
infile = os.path.join(root, name);
|
||||||
instring = open(infile, 'r').read();
|
instring = open(infile, 'r').read();
|
||||||
outstring = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], instring);
|
outstring = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], instring);
|
||||||
|
if name in need_ifdef_updates:
|
||||||
|
outstring = re.sub(self.volk_included, 'INCLUDED_VOLK_' + self.my_dict['name'].upper(), outstring)
|
||||||
newname = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], name);
|
newname = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], name);
|
||||||
relpath = os.path.relpath(infile, self.my_dict['base']);
|
relpath = os.path.relpath(infile, self.my_dict['base']);
|
||||||
|
if name == 'VolkConfig.cmake.in':
|
||||||
|
outstring = re.sub("VOLK", 'VOLK_' + self.my_dict['name'].upper(), outstring)
|
||||||
|
newname = "Volk%sConfig.cmake.in" % self.my_dict['name']
|
||||||
|
|
||||||
newrelpath = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], relpath);
|
newrelpath = re.sub(self.volk_gnsssdr, 'volk_gnsssdr_' + self.my_dict['name'], relpath);
|
||||||
dest = os.path.join(self.my_dict['destination'], 'volk_gnsssdr_' + self.my_dict['name'], os.path.dirname(newrelpath), newname);
|
dest = os.path.join(self.my_dict['destination'], 'volk_gnsssdr_' + self.my_dict['name'], os.path.dirname(newrelpath), newname);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user