-
Notifications
You must be signed in to change notification settings - Fork 26
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
[ci] Update InterOp builds to Ubuntu 24.04 #290
Open
aaronj0
wants to merge
17
commits into
main
Choose a base branch
from
maximusron/ubu24
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
185a100
[ci] Update Linux CI to Ubuntu 24
aaronj0 4a4d797
Add the "-Wno-ignored-attributes" for the ignoring attributes on temp…
aaronj0 f206e9d
[ci] Add pip no build isolation option for cppyy
aaronj0 b02dd6f
Silence new geninfo warnings from lcov report
aaronj0 51b8fa4
Merge branch 'main' into maximusron/ubu24
mcbarton bf093d9
Update ci.yml (wrong os label)
mcbarton bf58db7
Attempt fix of error: ignoring attributes on template argument ‘int (…
mcbarton 65540be
Update CppInterOp.cpp
mcbarton 167313c
Update CppInterOp.cpp
mcbarton 12189e1
Revert changes that tried to fix error
mcbarton 165db46
Revert changes to ci.yml to allow for a rebase
mcbarton 71c737c
Update ci.yml to allow for rebase
mcbarton e076d9b
Merge branch 'main' into maximusron/ubu24
mcbarton e4e9738
Update non-emscripten.yml to Ubuntu 24.04
mcbarton 697bdd2
Update emscripten.yml to Ubuntu 24
mcbarton 587c6cb
Put back changes needed to resolve conflict
mcbarton 588f2fb
Update emscripten.yml
mcbarton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2737,7 +2737,12 @@ namespace Cpp { | |
#define DEBUG_TYPE "exec" | ||
|
||
std::array<char, 256> buffer; | ||
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose); | ||
struct pclose_deleter { | ||
void operator()(struct FILE* d) const { | ||
pclose(d); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: no matching function for call to 'pclose' [clang-diagnostic-error] pclose(d);
^ Additional context/usr/include/stdio.h:896: candidate function not viable: cannot convert argument of incomplete type 'struct DIR *' to 'FILE *' (aka '_IO_FILE *') for 1st argument extern int pclose (FILE *__stream) __nonnull ((1));
^ |
||
} | ||
}; | ||
std::unique_ptr<FILE, pclose_deleter > pipe(popen(cmd, "r"), pclose); | ||
mcbarton marked this conversation as resolved.
Show resolved
Hide resolved
mcbarton marked this conversation as resolved.
Show resolved
Hide resolved
mcbarton marked this conversation as resolved.
Show resolved
Hide resolved
|
||
LLVM_DEBUG(dbgs() << "Executing command '" << cmd << "'\n"); | ||
|
||
if (!pipe) { | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
warning: typedef 'FILE' cannot be referenced with a struct specifier [clang-diagnostic-error]
Additional context
/usr/include/x86_64-linux-gnu/bits/types/FILE.h:6: declared here