Skip to content

Cabal + Make based build #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 616 commits into
base: tmp/make-build-offset
Choose a base branch
from

Conversation

angerman
Copy link

This builds upon wip/make-build, and integrates some of the andrea/make-build parts.

@angerman angerman self-assigned this May 10, 2025
@angerman angerman changed the base branch from master to wip/make-build May 10, 2025 03:31
@angerman angerman changed the base branch from wip/make-build to tmp/make-build-offset May 10, 2025 04:45
@angerman angerman force-pushed the wip/make-build-pre-zig branch from 74fdffe to a3d41c0 Compare May 10, 2025 08:34
@angerman
Copy link
Author

This supersedes #4

@angerman
Copy link
Author

angerman commented Jul 8, 2025

Amazing progress @hsyl20. This one looks very suprising?

Compile failed (exit code 1) errors were:
[1 of 2] Compiling Main             ( encodingAllocations.hs, encodingAllocations.o )
encodingAllocations.hs:20:36: error: [GHC-83865]
    • Couldn't match type ‘[Char]’ with ‘Handle’
      Expected: FilePath -> Handle -> IO ()
        Actual: FilePath -> FilePath -> Handle -> IO ()
    • Probable cause: ‘($)’ is applied to too few arguments
      In the second argument of ‘withTempFile’, namely
        ‘(const $ loop 1000000)’
      In the expression:
        withTempFile "encodingAllocations.tmp" (const $ loop 1000000)
      In an equation for ‘main’:
          main
            = withTempFile "encodingAllocations.tmp" (const $ loop 1000000)


*** unexpected failure for encodingAllocations(normal)

The function signature changed?!

@hsyl20
Copy link

hsyl20 commented Jul 8, 2025

Amazing progress @hsyl20. This one looks very suprising?

Compile failed (exit code 1) errors were:
[1 of 2] Compiling Main             ( encodingAllocations.hs, encodingAllocations.o )
encodingAllocations.hs:20:36: error: [GHC-83865]
    • Couldn't match type ‘[Char]’ with ‘Handle’
      Expected: FilePath -> Handle -> IO ()
        Actual: FilePath -> FilePath -> Handle -> IO ()
    • Probable cause: ‘($)’ is applied to too few arguments
      In the second argument of ‘withTempFile’, namely
        ‘(const $ loop 1000000)’
      In the expression:
        withTempFile "encodingAllocations.tmp" (const $ loop 1000000)
      In an equation for ‘main’:
          main
            = withTempFile "encodingAllocations.tmp" (const $ loop 1000000)


*** unexpected failure for encodingAllocations(normal)

The function signature changed?!

Yeah, that's the one Andrea told me would be fixed after a rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants