Coder Social home page Coder Social logo

Comments (5)

Gottox avatar Gottox commented on May 29, 2024 1

I just looked at the source. meson-0.57 is only needed for -Ddoc=true and for -Dtest=true. I'm removing the min requirement.

from sqsh-tools.

eli-schwartz avatar eli-schwartz commented on May 29, 2024 1

Note the issue here is that meson compile was implemented in meson 0.54.0.

All it does anyway is immediately run ninja on Linux, but it will also check if you are using Windows' msbuild and run that instead as necessary. That's actually the original reason meson compile was created, it serves as a small wrapper script that detects whether you use the vs, xcode, or ninja backends and then runs the correct command. Easier to describe in a README, apparently.

On meson 0.53.0, since it isn't parsed as a "compile" command, meson thinks you meant to run meson ./compile, i.e. "assume that the implicit subcommand is setup, then create a new build directory using the current working directory as a source directory". Current versions of meson will actually warn you that it's deprecated to not include the word "setup", because we want to drop that unintuitive behavior... but that will take a while until meson 0.64.0 is the oldest version of meson distributed in LTS distros.

from sqsh-tools.

probonopd avatar probonopd commented on May 29, 2024

Have you tested it? This is what I get...

           meson setup build \
            -Dwerror=false \
            -Dexamples=false  \
            -Dcurl=disabled  \
            -Dzlib=enabled \
            -Dlz4=disabled \
            -Dlzma=disabled  \
            -Dzstd=enabled  \
            -Dthreads=enabled \
            -Ddoc=false \
            -Dtest=false
           cd build
           ls
           meson compile

Result:

Version: 0.53.2
Source dir: /home/runner/work/Filer/Filer/libsqsh
Build dir: /home/runner/work/Filer/Filer/libsqsh/build
Build type: native build
Project name: libsqsh
Project version: 0.5.0
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Run-time dependency threads found: YES
Dependency libcurl skipped: feature curl disabled
Found pkg-config: /usr/bin/pkg-config (1.6.3)
Found CMake: /usr/local/bin/cmake (3.27.0)
Run-time dependency fuse3 found: NO (tried pkgconfig and cmake)
Dependency fuse skipped: feature fuse-old disabled
Dependency liblz4 skipped: feature lz4 disabled
Dependency liblzma skipped: feature lzma disabled
Run-time dependency zlib found: YES 1.2.11
Run-time dependency libzstd found: YES 1.4.4
Configuring sqsh-cat.1 using configuration
Configuring sqsh-ls.1 using configuration
Configuring sqsh-stat.1 using configuration
Configuring sqsh-unpack.1 using configuration
Configuring sqsh-xattr.1 using configuration
Build targets in project: 7

Found ninja-1.10.0 at /usr/bin/ninja
build.ninja
compile_commands.json
include
lib
man
meson-info
meson-logs
meson-private
tools

ERROR: Neither directory contains a build file meson.build.
Error: Process completed with exit code 1.

Maybe you can change

https://github.com/Gottox/libsqsh/blob/d9b0e49f477b8d8be1bb2e85975a97c578878919/.github/workflows/ci.yaml#L11

to runs-on: ubuntu-20.4 to test?

from sqsh-tools.

Gottox avatar Gottox commented on May 29, 2024

I tried ninja instead of meson compile, that worked for me.

from sqsh-tools.

probonopd avatar probonopd commented on May 29, 2024

I can confirm that. Thanks! 👍

from sqsh-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.