check for 'flex' before starting tools build
PATCH 1/1 check for 'flex' before starting tools build
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1318335031 -7200
# Node ID 5a5181b8c31983ff2f465f85a41df784a5397ed5 # Parent 4b0907c6a08c348962bd976c2976257b412408be check for 'flex' before starting tools build.
tools/check/check_flex new file +6 -0
@@ -0,0 +1,6 @@ +#!/bin/sh +# CHECK-BUILD + +. ./funcs.sh + +has_or_fail flex
Quoted 6 lines · Olaf Hering
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1318335031 -7200
# Node ID5a5181b8c31983ff2f465f85a41df784a5397ed5# Parent4b0907c6a08c348962bd976c2976257b412408becheck for 'flex' before starting tools build.
A similar check should be added for bison.
After todays 'hg pull -u' and 'make tools xen', two files were modified:
# hg st M tools/libxl/libxlu_disk_l.c M tools/libxl/libxlu_disk_l.h
Shouldnt they be generated files in the first place, and not part of the SCM?
Olaf
Quoted 12 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Quoted 6 lines · Olaf Hering
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1318335031 -7200
# Node ID5a5181b8c31983ff2f465f85a41df784a5397ed5# Parent4b0907c6a08c348962bd976c2976257b412408becheck for 'flex' before starting tools build.A similar check should be added for bison.
Quoted 8 lines
After todays 'hg pull -u' and 'make tools xen', two files were modified:
# hg st M tools/libxl/libxlu_disk_l.c M tools/libxl/libxlu_disk_l.hShouldnt they be generated files in the first place, and not part of the SCM?
Correct - this had happened once already. And neither flex nor bison should be required (or if they were, likely a minimum version would also need to be enforced, and the overridable $(FLEX) and $(BISON) values would also need to be taken into consideration - when this happened first, I had to use privately built variants on SLE10 for things to work out properly).
Jan