Skip to content

Commit

Permalink
Update dependencies used by the driver extractor (flathub#297)
Browse files Browse the repository at this point in the history
* readme: minor formatting fix

* libarchive: configure with `--disable-dependency-tracking`

From the output of ./configure --help:

> Optional Features
> --disable-dependency-tracking  speeds up one-time build

When building a single driver version on an i5 3570K + 120 GB SSD, I
saw a decrease in the overall build time of ~4.6 seconds.

Before:

$ time make FB_ARGS='--user'
...
real    0m45,461s
user    0m1,018s
sys     0m0,416s

Now:

$ time make FB_ARGS='--user'
...
real    0m40,813s
user    0m0,998s
sys     0m0,425s

* libarchive: update to 3.7.5

* libzstd: update to 1.5.6
  • Loading branch information
guihkx authored Sep 20, 2024
1 parent a7d8b22 commit 35d8f47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cd org.freedesktop.Platform.GL.nvidia
echo 'DRIVER_VERSIONS="560.35.03"' >> versions.sh
```

5\. Install the appropriate 1.6 Freedesktop Platform/SDK for your CPU architecture:
**5\.** Install the appropriate 1.6 Freedesktop Platform/SDK for your CPU architecture:

```bash
flatpak --user install --no-related flathub "org.freedesktop.Platform/$(flatpak --default-arch)/1.6"
Expand Down
10 changes: 5 additions & 5 deletions org.freedesktop.Platform.GL.nvidia.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@
"sources": [
{
"type": "archive",
"url": "https://github.com/facebook/zstd/releases/download/v1.5.4/zstd-1.5.4.tar.gz",
"sha256": "0f470992aedad543126d06efab344dc5f3e171893810455787d38347343a4424"
"url": "https://github.com/facebook/zstd/releases/download/v1.5.6/zstd-1.5.6.tar.gz",
"sha256": "8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1"
}
]
},
{
"cleanup": ["/include", "/share"],
"name": "libarchive",
"config-opts": [ "--disable-shared", "--enable-static", "--disable-xattr", "--disable-acl",
"config-opts": [ "--disable-dependency-tracking", "--disable-shared", "--enable-static", "--disable-xattr", "--disable-acl",
"--without-bz2lib", "--without-iconv", "--without-lz4", "--without-lzo2", "--without-nettle",
"--without-openssl", "--without-xml2", "--without-expat", "--disable-bsdcat", "--disable-bsdcpio",
"--disable-bsdtar", "--disable-bsdunzip", "--without-libb2", "--without-cng", "--without-mbedtls"
],
"sources": [
{
"type": "archive",
"url": "https://www.libarchive.de/downloads/libarchive-3.7.4.tar.xz",
"sha256": "f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735"
"url": "https://github.com/libarchive/libarchive/releases/download/v3.7.5/libarchive-3.7.5.tar.xz",
"sha256": "ca74ff8f99dd40ab8a8274424d10a12a7ec3f4428dd35aee9fdda8bdb861b570"
}
]
},
Expand Down

0 comments on commit 35d8f47

Please sign in to comment.