tangled
alpha
login
or
join now
matrixfurry.com
/
homebrew-atomicxr
0
fork
atom
XR packaging for Fedora Atomic
0
fork
atom
overview
issues
15
pulls
pipelines
wlx-overlay-s: fix multiline command formatting
matrixfurry.com
7 months ago
6462ca7a
7779c3db
verified
This commit was signed with the committer's
known signature
.
matrixfurry.com
SSH Key Fingerprint:
SHA256:68a4335QUqf4PR8E4jmNMaKH1SIxm7r+LLY9m/8nc/s=
+18
-14
1 changed file
expand all
collapse all
unified
split
Formula
wlx-overlay-s.rb
+18
-14
Formula/wlx-overlay-s.rb
···
24
24
25
25
# HACK: temporarily disable fixincludes for pthread.h, see https://github.com/orgs/Homebrew/discussions/6193
26
26
# Maybe building with LLVM clang would be a better idea?
27
27
-
system "nu", "-c", "try {
28
28
-
ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h
29
29
-
| each {|file| mv $file.name $'($file.name).bak'};
30
30
-
print 'GCC Fixincludes disabled for `pthread.h`'
31
31
-
} catch {
32
32
-
print 'WARNING: Failed to disable pthread.h fixincludes from GCC.'
33
33
-
}"
27
27
+
system "nu", "-c", <<~EOF
28
28
+
try {
29
29
+
ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h
30
30
+
| each {|file| mv $file.name $'($file.name).bak'};
31
31
+
print 'GCC Fixincludes disabled for `pthread.h`'
32
32
+
} catch {
33
33
+
print 'WARNING: Failed to disable pthread.h fixincludes from GCC.'
34
34
+
}
35
35
+
EOF
34
36
35
37
system "cargo", "install",
36
38
"--no-default-features",
···
38
40
*std_cargo_args
39
41
40
42
# HACK: re-enable pthread.h fixincludes
41
41
-
system "nu", "-c", "try {
42
42
-
ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak
43
43
-
| each {|file| mv $file.name ($file.name | str substring 0..-5)};
44
44
-
print 'GCC Fixincludes re-enabled for `pthread.h`'
45
45
-
} catch {
46
46
-
print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.'
47
47
-
}"
43
43
+
system "nu", "-c", <<~EOF
44
44
+
try {
45
45
+
ls /home/linuxbrew/.linuxbrew/Cellar/gcc/*/lib/gcc/current/gcc/x86_64-pc-linux-gnu/*/include-fixed/pthread.h.bak
46
46
+
| each {|file| mv $file.name ($file.name | str substring 0..-5)};
47
47
+
print 'GCC Fixincludes re-enabled for `pthread.h`'
48
48
+
} catch {
49
49
+
print 'WARNING: Failed to re-enable pthread.h fixincludes from GCC.'
50
50
+
}
51
51
+
EOF
48
52
end
49
53
50
54
def caveats