Re: Workflow question (changing codegen)

2019-07-01 Thread Ben Gamari
Ömer Sinan Ağacan writes: > My current workaround is this: I have a branch which is just master + the new > file I've added. I first build it from a clean tree (git clean -xfd; then > build), then switch to my branch, and run `make 1` in `compiler/`. That way I > don't have to run ./configure

Re: Workflow question (changing codegen)

2019-07-01 Thread Ben Gamari
Sebastian Graf writes: > Re: git worktree: That's the workflow I'm currently using. It has its > problems with submodules, see > https://stackoverflow.com/questions/31871888/what-goes-wrong-when-using-git-worktree-with-git-submodules. > But you can make it work with this git alias from the first

Re: Workflow question (changing codegen)

2019-07-01 Thread Ben Gamari
Richard Eisenberg writes: > Just to pass on something that looks cool (I haven't tried it myself > yet): git worktree. It seems git can hang several different checkouts > of a repo in different directories. This seems far superior to my > current habit of having many clones of ghc, sometimes

Re: Workflow question (changing codegen)

2019-07-01 Thread Ömer Sinan Ağacan
My current workaround is this: I have a branch which is just master + the new file I've added. I first build it from a clean tree (git clean -xfd; then build), then switch to my branch, and run `make 1` in `compiler/`. That way I don't have to run ./configure (because the new file is already built

Re: Workflow question (changing codegen)

2019-06-30 Thread Sebastian Graf
Re: git worktree: That's the workflow I'm currently using. It has its problems with submodules, see https://stackoverflow.com/questions/31871888/what-goes-wrong-when-using-git-worktree-with-git-submodules. But you can make it work with this git alias from the first answer:

Re: Workflow question (changing codegen)

2019-06-29 Thread Richard Eisenberg
Just to pass on something that looks cool (I haven't tried it myself yet): git worktree. It seems git can hang several different checkouts of a repo in different directories. This seems far superior to my current habit of having many clones of ghc, sometimes going through machinations to get

Re: Workflow question (changing codegen)

2019-06-29 Thread Ben Gamari
On June 28, 2019 5:09:45 AM EDT, "Ömer Sinan Ağacan" wrote: >Hi all, > >I'm currently going through this torturous process and I'm hoping that >someone >here will be able to help. > >I'm making changes in the codegen. My changes are currently buggy, and >I need a >working stage 1 compiler to be

Workflow question (changing codegen)

2019-06-28 Thread Ömer Sinan Ağacan
Hi all, I'm currently going through this torturous process and I'm hoping that someone here will be able to help. I'm making changes in the codegen. My changes are currently buggy, and I need a working stage 1 compiler to be able to debug. Basically I need to build libraries using the branch my