-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openjdk@8 1.8.0-432 #194719
base: master
Are you sure you want to change the base?
openjdk@8 1.8.0-432 #194719
Conversation
ff25870
to
68bd427
Compare
Why is the on_arm do
depends_on "openjdk@21"
end
on_intel do
depends_on "openjdk@8"
end I printed the content of the #!/bin/bash
export JAVA_HOME="${JAVA_HOME:-/usr/local/opt/openjdk@8/libexec/openjdk.jdk/Contents/Home}"
exec "${JAVA_HOME}/bin/java" -jar "/usr/local/Cellar/embulk/0.11.5/libexec/embulk-0.11.5.jar" "$@" It seems that the P.S. def install
java_version = Hardware::CPU.intel? ? "1.8" : "21"
libexec.install "embulk-#{version}.jar"
bin.write_jar_script libexec/"embulk-#{version}.jar", "embulk", java_version:
end |
fed29db
to
68bd427
Compare
0b8bfc0
to
68bd427
Compare
79c16e8
to
bd657e1
Compare
16477cb
to
d3955dd
Compare
14edc3f
to
e34a3cd
Compare
e34a3cd
to
6864d32
Compare
6864d32
to
0683ae2
Compare
689f0f8
to
bab4e72
Compare
cd7e267
to
88bbd2a
Compare
Ping @Homebrew/core -- @calvinit could use some help here. (I'll try to look myself later today.) |
d57916e
to
05169e1
Compare
Thank you, it would be the best. I'll talk about the latest progress now: with the latest PR commit now, the The other one is the BTW: it looks like JNF is no longer a hindrance to compiling |
d4705ea
to
724e806
Compare
Formula/o/[email protected]
Outdated
# Pre-build JNF (JavaNativeFoundation.framework) in macOS Sonoma or newer | ||
# to fix the issue of its necessary headers not being found. | ||
if MacOS.version >= :sonoma | ||
ENV["SDKPATH"] = ENV["SDKROOT"] = MacOS::CLT.sdk_path(MacOS.version) | ||
resource("JavaNativeFoundation").stage do | ||
cd "apple/JavaNativeFoundation" do | ||
xcodebuild "-arch", Hardware::CPU.arch, | ||
"OTHER_CFLAGS=-Wno-strict-prototypes", | ||
"-project", "JavaNativeFoundation.xcodeproj" | ||
my_jnf_path = buildpath/"build/Frameworks" | ||
my_jnf_path.install "build/Release/JavaNativeFoundation.framework" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the tbd
file is still there in the SDK and it's just the headers that are missing - have you tried just -isystem
the headers directory here rather than building the whole framework?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven’t tried it yet. It sounds like a feasible approach, but I first need to find a source that can be downloaded to these headers.
724e806
to
4f8cde5
Compare
DevelopmentTools.clang_build_version == 1600 && | ||
ENV.append_to_cflags("-mllvm -enable-constraint-elimination=0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DevelopmentTools.clang_build_version == 1600 && | |
ENV.append_to_cflags("-mllvm -enable-constraint-elimination=0") | |
if DevelopmentTools.clang_build_version == 1600 | |
ENV.append_to_cflags("-mllvm -enable-constraint-elimination=0") | |
end |
Could we change this please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carlocab Hi, I have tried both 2 all, but CI / tap_syntax (pull_request)
check cannot pass.
a7b00bb
to
440c14a
Compare
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?