Eigenstate: myrddin-dev mailing list

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

Re: Builds go parallel. Also, improved ergonomics overall.


Also, as a result of this refactoring, where I cleanly and clearly separated
the dependency extraction and command execution, I think it might become
easier to support building C as a first class citizen. I'd still want to make
it opinionated about what tools to use for figuring out CFLAGS/LDFLAGS, but I
think it can be made to work for most people's needs:

    bin foo =
        foo.c # if there's obj/.cdeps/foo.c,
	      # it uses tha for dependency tracking,
	      # otherwise it assumes the build is stale.
	pkg opencv	# request opencv using pkg-config
	pkg gtk+-3.0	# request gtk using pkg-config
    ;;

There are a few sticking points ("libraries without usefiles? UNPOSSIBLE!"),
but I don't think they're insurmountable.

If there's interest, and people who would actually use this, I can either add
this to the backlog (so, several months out), or help someone who actually has
the bandwidth to work on it. Maybe toss it in as a GSOC idea, if we try for
that again?

-- 
Ori Bernstein <ori@xxxxxxxxxxxxxx>

References:
Builds go parallel. Also, improved ergonomics overall.Ori Bernstein <ori@xxxxxxxxxxxxxx>