Comments (9)
@lee218llnl we could get rid of 42 characters of that particular path by getting rid of the prefix. e.g., we could install by default into $spack/opt/spack/. The only problem is that you lose human readability that way. That could be solved with Matt's views. I had thought about making a minimal install location, and using views for actually browsing, but it seemed like we could get the best of both worlds.
I know @mplegendre likes the default paths. @mplegendre: any thoughts on this? Looks like the default length for shebang paths in Linux is 128 bytes 👎 http://lxr.free-electrons.com/source/include/uapi/linux/binfmts.h#L18
from spack.
The alternative would be using some wrapper script to handle oversized
shebangs as in:
http://stackoverflow.com/questions/10813538/shebang-line-limit-in-bash-and-linux-kernel
- Joachim
Am 09.06.2015 um 13:43 schrieb Todd Gamblin:
@lee218llnl https://github.com/lee218llnl we could get rid of 42
characters of that particular path by getting rid of the prefix. e.g.,
we could install by default into $spack/opt/spack/. The only problem is
that you lose human readability that way. That could be solved with
Matt's views. I had thought about making a minimal install location, and
using views for actually browsing, but it seemed like we could get the
best of both worlds.I know @mplegendre https://github.com/mplegendre likes the default
paths. @mplegendre https://github.com/mplegendre: any thoughts on
this? Looks like the default length for shebang paths in Linux is 128
bytes 👎
http://lxr.free-electrons.com/source/include/uapi/linux/binfmts.h#L18—
Reply to this email directly or view it on GitHub
#54 (comment).
Dipl.-Inf. Joachim Protze
IT Center
Group: High Performance Computing
Division: Computational Science and Engineering
RWTH Aachen University
Seffenter Weg 23
D 52074 Aachen (Germany)
Tel: +49 241 80- 24765
Fax: +49 241 80-624765
[email protected]
www.itc.rwth-aachen.de
from spack.
I think that's more of a pain because we'd have to implement wrapper generation in Spack for everything installed as a script. I suppose I can imagine how to implement that, but it does change the way the package is installed. I worry that this would break assumptions for some packages, though. Imagine a package where the author wants to patch an installed script, but Spack replaces it with a wrapper. I suppose if spack does that only after all build tasks it would be ok, but I still think it might be hard to maintain...
from spack.
This bit us on chaos5 LLNL LC systems -- the kernel limit is actually 80 chars (after the shebang).
For our path we were getting cut off before the the hash even starts.
from spack.
@cyrush: not sure the kernel limit is actually 80 chars, but that is what is printed out if this error happens. Want to test the fix I pushed? #497
from spack.
@tgamblin great timing -- we are meeting all day Tuesday to resolve build system issues. I will test this then.
from spack.
I've seen shebangs being rewritten, so this should be fine now?
from spack.
Yes. We've had a number of reports of this being fixed. Reopen if not.
from spack.
sorry for not reporting back -- we are successfully using the fix
from spack.
Related Issues (20)
- Many packages do not declare correctly a dependency on `gl` HOT 5
- Testing issue: adios2
- Testing issue: bricks
- Installation issue: py-polars
- Testing issue: gptune
- hpx: Invalid default variant HOT 2
- py-warpx: missing libwarpx.3d.so HOT 2
- Installation issue: rust installation missing files or directories (?) HOT 2
- Installation issue: bison (Spack v0.22) HOT 7
- Testing issue: vtk-m (+cuda) HOT 6
- v0.22 concretizer yields suboptimal fresh concrete specs HOT 8
- [Question] Why don't you split package repo and spack command? HOT 1
- Regression v0.22: no more OCI `org.opencontainers.image.description` annotations HOT 3
- Package caches are not regenerated when they should, and lead to spurious failures HOT 1
- Installation issue: perl-xml-libxml fails in gcc14
- Installation issue: OpenMPI with LSF libdir option HOT 5
- Installation issue: spack install grpc
- Installation issue: gperftools when `build_system=cmake` HOT 9
- Avoid storing binary blobs as test files for sz compression HOT 4
- Installation issue: openmpi (Spack v0.21 & v0.22) with compiler [email protected] HOT 6
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 spack.