eccodes/tests/make_hash.ksh

11 lines
190 B
Bash
Executable File

#!/usr/bin/ksh
set -x
./list_all_keys.ksh
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 >> ../src/grib_hash_keys.c