eccodes/tests/make_hash.ksh

11 lines
212 B
Bash
Raw Permalink Normal View History

2013-03-25 12:04:10 +00:00
#!/usr/bin/ksh
set -ex
2013-03-25 12:04:10 +00:00
2023-01-12 13:28:46 +00:00
./list_all_keys.sh
2013-03-25 12:04:10 +00:00
gperf -I -t -G -H hash_keys -N grib_keys_hash_get -m 3 keys > ../src/grib_hash_keys.c
cat ../src/grib_itrie_keys.c | sed -e '/^#line /d' >> ../src/grib_hash_keys.c
2013-03-25 12:04:10 +00:00