Re: [kvm-unit-tests] arm: fix parallel build (make -j)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 4, 2016 at 8:28 AM, Andrew Jones <drjones@xxxxxxxxxx> wrote:
> On Fri, Mar 04, 2016 at 04:45:09PM +0100, Paolo Bonzini wrote:
>>
>>
>> On 04/03/2016 12:04, Andrew Jones wrote:
>> >> > +
>> >> > +$(TEST_DIR)/selftest.o $(TEST_DIR)/spinlock-test.o $(cstart.o): $(asm-offsets)
>> > You know a project is really growing when you need 'make -j' :-)
>> >
>> > How about this patch instead though
>> >
>> > -test_cases: $(generated_files) $(tests-common) $(tests)
>> > +test_cases: $(tests-common) $(tests)
>> > +$(patsubst %.flat,%.o,$(tests-common) $(tests)) $(cstart.o): $(generated_files)
>> >
>> > Or, hmm, actually any $(TEST_DIR)/ lib/$(TEST_DIR)/ or lib/$(ARCH)/
>> > source file could depend on asm-offsets. So the above probably isn't
>> > sufficient for the long term either.
>>
>> I expect a relatively small part of the .o files to need asm-offsets, so
>> I'm going with Peter's patch.
>
> Well, his patch adds the dependency for $(TEST_DIR)/spinlock-test.o,
> which actually doesn't need it. We should either just put the ones
> that need it, or all of them.

My mistake! Evidently I can't read the output of grep properly. I'll
send v2 with the minimal list of dependencies.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux