Comments (5)
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.
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.
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
to runs-on: ubuntu-20.4
to test?
from sqsh-tools.
I tried ninja
instead of meson compile
, that worked for me.
from sqsh-tools.
I can confirm that. Thanks! 👍
from sqsh-tools.
Related Issues (20)
- sqsh_inode_map_get returns 0 on error, rather than a negative number HOT 1
- Error SQSH_ERROR_NOT_A_FILE is unused HOT 1
- No good way to tell when TreeWalker is at the end of the directory HOT 4
- sqsh_inode_map_get - zero is a valid return, and the indicator for errors HOT 4
- Make `sqsh_tree_walker_up` position the walker at the entry of the previous directory HOT 2
- Write support for squashfs archives
- Rename TreeWalker to PathResolver
- Need more docs on sqsh_file_iterator_skip HOT 8
- Direct leak somewhere in metablock/extract handling HOT 2
- Fix code scanning alert - Accessing files should not introduce TOCTOU vulnerabilities HOT 1
- Remove deprecated code for 2.0
- sqsh_tree_walker_next2 was removed HOT 3
- Reduce code duplication within tests
- Improve test coverage HOT 1
- support dynamic allocated zero block
- SqshFileReader reports out of bounds if you request a 0 sized range at the end of the file
- Replace hashmap by radixtree/linkedlist
- Static build HOT 4
- Fails to build on macos HOT 6
- check for right behavior on dir index counting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqsh-tools.