Merge "Add create_reference_dumps.py --lib-variant" into main