Commit Graph

17 Commits

Author SHA1 Message Date
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Etienne Laurin
045e8b36db 7zz: convert mingw script to patch 2023-02-21 03:21:37 -07:00
Etienne Laurin
d3f8d98df7 7zz: cross-compile for mingw 2023-02-21 01:35:54 -07:00
Thiago Kenji Okada
d383e90ace _7zz: build on macOS 2022-07-23 21:20:22 +01:00
Thiago Kenji Okada
2458b102be _7zz: 22.00 -> 22.01 2022-07-23 12:26:18 +01:00
Thiago Kenji Okada
217e40ec41 _7zz: improve update.sh script 2022-07-23 12:26:17 +01:00
Robert Schütz
e6a76ff9ae _7zz: 21.07 -> 22.00 2022-06-26 19:31:21 +00:00
Artturin
f1c7f19e49 treewide: testVersion -> testers.testVersion 2022-04-22 16:24:27 +03:00
Thiago Kenji Okada
21a40059dd _7zz: useUasm only in x86 platforms
`uasm` is x86 only.

It seems that in `aarch64-linux` at least, the optimizing build is done
without using any third-party tool (maybe using GCC's own assembly?).
2022-04-19 01:01:32 +01:00
Thiago Kenji Okada
b2d35019c0 _7zz: cross-compilation fixes 2022-04-18 22:55:43 +01:00
Thiago Kenji Okada
8d81114a37 _7zz: build with useUasm in more platforms 2022-04-18 18:21:35 +01:00
j-k
c12cec8bc3
_7zz: correct license (#163999)
* _7zz: correct license and remove p7zip dependency

The code under Compress/Rar* is licensed under a specific unRAR license
Also Compress/LzfseDecoder.cpp is covered by BSD3

The unRAR code is removed from the `.tar.xz` since the license posits you
agree or remove the code from your hard drive
This adds some complexity to updating 7zz so there is also an update
script

Meta has been updated and tweaked

Source is now downloaded from sourceforge in the `.tar.xz` version to
avoid depending on p7zip

* _7zz: add notice of the license updates and optional unRAR licenced code
2022-03-18 12:47:19 +08:00
Thiago Kenji Okada
7319edcda5 7zz: compile optimized assembly code for x86_64
Use uasm to compile the optimized code instead of generic C code for
faster operations.

Before:
```
7zz x   10.83s user 0.40s system 98% cpu 11.439 total
```

After:
```
7zz x   6.87s user 0.40s system 98% cpu 7.395 total
```
2022-01-31 12:17:51 -03:00
Thiago Kenji Okada
2320573b69 7zz: 21.04 -> 21.07 2022-01-07 17:53:09 +08:00
Peter Hoeg
0437e90238
7zz: 21.01 -> 21.04 (#145031)
* 7zz: 21.01 -> 21.04

Also build from source instead of using the binaries.

We cannot (yet) build the fully optimized version as it requires the
ASMC assembler which currently doesn't build with GCC.
2021-11-12 10:57:14 +08:00
Anna Kudriavtsev
3bfce611c3 7zz: init at 21.01 2021-03-19 15:01:49 -07:00