SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I'm trying to update vulkan-sdk on Slackware 14.2 (multilib). For 1.1.73 I used the directions here: https://www.linuxquestions.org/quest...7/#post5890380 After following all directions given there, I was able to build 1.1.73 for both 64-bit and 32-bit.
And are you sure fetch-sources.sh actually did what you expected? There's a BRANCH variable that actually determines which version of the source code is checked out. If you didn't change it, then you're still building 1.1.85.0. You're just changing the versioning information on the package and directories.
Now that you mention it, it is trying to download Vulkan-ValidationLayers-sdk-1.1.85. This is with "VERSION=1.1.88.0 BRANCH=master ./fetch-sources.sh"
line 55 had a reference to 1.1.85. Changed to 1.1.88, but am still getting the same error in /tmp/Vulkan-ValidationLayers-sdk.
Here's the complete output of fetch-sources.sh:
Code:
% ~/src/vulkan-sdk VERSION=1.1.88.0 BRANCH=master ./fetch-sources.sh
Cloning into 'Vulkan-Headers-sdk-1.1.88.0'...
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 567 (delta 9), reused 18 (delta 8), pack-reused 536
Receiving objects: 100% (567/567), 1.73 MiB | 3.65 MiB/s, done.
Resolving deltas: 100% (183/183), done.
Cloning into 'Vulkan-ValidationLayers-sdk-1.1.88.0'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 42948 (delta 19), reused 24 (delta 12), pack-reused 42909
Receiving objects: 100% (42948/42948), 36.34 MiB | 6.62 MiB/s, done.
Resolving deltas: 100% (33617/33617), done.
Cloning into 'Vulkan-Loader-sdk-1.1.88.0'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 13741 (delta 5), reused 9 (delta 3), pack-reused 13721
Receiving objects: 100% (13741/13741), 7.02 MiB | 5.30 MiB/s, done.
Resolving deltas: 100% (10218/10218), done.
Cloning into 'Vulkan-Tools-sdk-1.1.88.0'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 37718 (delta 16), reused 28 (delta 12), pack-reused 37679
Receiving objects: 100% (37718/37718), 38.87 MiB | 6.75 MiB/s, done.
Resolving deltas: 100% (29193/29193), done.
Cloning into 'glslang'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 37038 (delta 0), reused 2 (delta 0), pack-reused 37035
Receiving objects: 100% (37038/37038), 46.19 MiB | 6.87 MiB/s, done.
Resolving deltas: 100% (31453/31453), done.
Note: checking out '91ac4290bcf2cb930b4fb0981f09c00c0b6797e1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 91ac4290... Merge pull request #1510 from Kangz/complete_lib
Cloning into 'SPIRV-Tools'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 17908 (delta 7), reused 15 (delta 6), pack-reused 17882
Receiving objects: 100% (17908/17908), 9.18 MiB | 5.94 MiB/s, done.
Resolving deltas: 100% (13892/13892), done.
Note: checking out '9bfe0eb25e3dfdf4f3fd86ab6c0cda009c9bd661'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 9bfe0eb2... Wrap tests needing effcee inside SPIRV_EFFCEE
Cloning into 'SPIRV-Headers'...
remote: Enumerating objects: 58, done.
remote: Counting objects: 100% (58/58), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 1009 (delta 26), reused 37 (delta 19), pack-reused 951
Receiving objects: 100% (1009/1009), 512.71 KiB | 2.35 MiB/s, done.
Resolving deltas: 100% (635/635), done.
Note: checking out 'd5b2e1255f706ce1f88812217e9a554f299848af'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at d5b2e12... Fix D -> d typo in previous commit.
ETA: each time I'm building vulkan-sdk.Slackbuild, I'm deleting /tmp/package-vulkan-sdk beforehand, so it's a clean build each time.
[ 8%] Built target loader_gen_files
[ 41%] Built target generate_helper_files
[ 45%] Building C object loader/CMakeFiles/asm_offset.dir/asm_offset.c.o
/tmp/Vulkan-Loader-sdk-1.1.88.0/loader/asm_offset.c:1:0: error: CPU you selected does not support x86-64 instruction set
/*
^
/tmp/Vulkan-Loader-sdk-1.1.88.0/loader/asm_offset.c:1:0: error: CPU you selected does not support x86-64 instruction set
loader/CMakeFiles/asm_offset.dir/build.make:62: recipe for target 'loader/CMakeFiles/asm_offset.dir/asm_offset.c.o' failed
make[2]: *** [loader/CMakeFiles/asm_offset.dir/asm_offset.c.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'loader/CMakeFiles/asm_offset.dir/all' failed
make[1]: *** [loader/CMakeFiles/asm_offset.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
[ 8%] Built target loader_gen_files
[ 41%] Built target generate_helper_files
[ 45%] Building C object loader/CMakeFiles/asm_offset.dir/asm_offset.c.o
/tmp/Vulkan-Loader-sdk-1.1.88.0/loader/asm_offset.c:1:0: error: CPU you selected does not support x86-64 instruction set
/*
^
/tmp/Vulkan-Loader-sdk-1.1.88.0/loader/asm_offset.c:1:0: error: CPU you selected does not support x86-64 instruction set
loader/CMakeFiles/asm_offset.dir/build.make:62: recipe for target 'loader/CMakeFiles/asm_offset.dir/asm_offset.c.o' failed
make[2]: *** [loader/CMakeFiles/asm_offset.dir/asm_offset.c.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'loader/CMakeFiles/asm_offset.dir/all' failed
make[1]: *** [loader/CMakeFiles/asm_offset.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.