Comments (7)
Thanks for the contact and the feedback. This is true that 'ldoconfig' is called by lib/Makefile but as part of install target only. Consequently it is not required to be root for library compilation and any user should be able to do it.
We are open to suggestions and pull requests with regard to improvements in the existing build system. We'll also have a look into evil autoconf :)
from intel-cmt-cat.
https://github.com/clearlinux-pkgs/intel-cmt-cat/blob/master/build.patch
this is the kind of thing linux distros need to do for their packaging; even make install into a chroot-like directory (with DESTDIR) will be done as non-root.
intel-cmt-cat is pretty much the only package in the whole distro that runs ldconfig as part of "make install".... it's at least highly unusual
from intel-cmt-cat.
How does clearlinux intel-cmt-cat spec file look like? 'make install' is not part of Fedora spec file for instance and so no patching is required.
from intel-cmt-cat.
https://github.com/clearlinux-pkgs/intel-cmt-cat/blob/master/intel-cmt-cat.spec
Fedora hates your make install so much that they decided to open code it instead, and put a nasty comment instead... I wouldn't take Fedora's workaround as a sign that the Makefile is doing the right thing ;-)
(from their spec)
Not doing make install as it strips the symbols.
Using files from the build directory.
from intel-cmt-cat.
Thank you but actually we wrote this spec file file so we cannot really hate ourselves.
We'll consider removing ldconfig from the lib/Makefile or creating separate target for packaging.
The only reason 'ldocnfig' is there is for users installing software from a tarball.
from intel-cmt-cat.
fwiw Debian seems to have a patch very similar
http://http.debian.net/debian/pool/main/i/intel-cmt-cat/intel-cmt-cat_1.0.1-1.debian.tar.xz
as does opensuse
from intel-cmt-cat.
Closing this issue after merging workaround to install without running ldconfig.
Please reopen if needed.
Regards,
Marcel
from intel-cmt-cat.
Related Issues (20)
- How to modify the number of cache ways HOT 1
- array cores[] in unit-test/lib/test_hw_monitoring.c has a suspicious access at index 1
- Pull request failed with style problems HOT 1
- RDT for VM HOT 1
- A question about the implementation of intel-cmt-cat HOT 5
- Does this tool support for Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz? HOT 2
- Do Intel(R) Xeon(R) 2nd Generation Scalable Processors have support for L3 cat as specified in the README? HOT 1
- Can pqos bind LLC and MB to PID? HOT 1
- Does this tool support for 12th Gen Intel(R) Core(TM) i3-12100F?
- Supports for 13th Gen Intel Core
- Why setting COS through code APIs is invalid? HOT 2
- A question about the USE of Highest Way in l3_cat HOT 2
- Project versioning update
- conflict with libvirt cachetune
- Intel RDT for 13th Gen Intel(R) Core(TM) i9-13900KS HOT 1
- What is shareable_bits in resctrl?Or what is "ways contention bit-mask" in pqos? HOT 1
- Could I check if pqos set llc value is valid in linux file system HOT 1
- Installing problem HOT 2
- The pqos tool fails on systems with 300 or more CPU cores HOT 1
- Create version tag following the traditional v5.0.0 style 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 intel-cmt-cat.