forked from eclipse-cdt/cdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix meson build under Docker Tooling (eclipse-cdt#491)
* Fix meson build under Docker Tooling - add new IToolChainConstants containing SECCOMP_UNCONFINED property constant - add new setLauncher() method to CBuildConfiguration so that watchProcess() can be used for container building - enhance ContainerCommandLauncher to discover specification of SECCOMP_UNDEFINED boolean option for execute() so "seccomp=undefined" can be specified - fix ContainerCommandLauncherFactory.verifyIncludePaths() to only look at filtered includes that have been made absolute and to recognize matches when the prefix shows up in the loaded list - add setting a property to ContainerGCCToolChain to set SECCOMP_UNCONFINED to true by default for the time-being - when generating scannerinfo, specify "seccomp=unconfined" - in ContainerGCCToolChain.startBuildProcess() remove extraneous banner statement and ensure that the build directory is created - fixes eclipse-cdt#479
- Loading branch information
Showing
7 changed files
with
76 additions
and
19 deletions.
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
27 changes: 27 additions & 0 deletions
27
core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build/IToolChainConstants.java
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2023 Red Hat Inc. and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat Inc. - initial contribution | ||
*******************************************************************************/ | ||
package org.eclipse.cdt.core.build; | ||
|
||
/** | ||
* Tool chain constants | ||
* | ||
* @since 8.4 | ||
* @noimplement This interface is not intended to be implemented by clients. | ||
* @noextend This interface is not intended to be extended by clients. | ||
*/ | ||
public interface IToolChainConstants { | ||
|
||
public final static String SECCOMP_UNDEFINED = "seccomp_undefined"; //$NON-NLS-1$ | ||
|
||
} |
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
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