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
Linux command-line: | |
1. uname -r # expect 5 and above | |
2. grep io_uring_setup /proc/kallsyms # expect 2 lines | |
3. gcc test_io_uring.c -o test_io_uring && ./test_io_uring | |
```C | |
// test_io_uring.c | |
#include <stdio.h> | |
#include <errno.h> |
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
rm {filename} | |
git update-index --assume-unchanged {filename} | |
echo {filename} >> .git/info/exclude |
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
diff --git xtext-android-gradle-plugin/src/main/java/org/xtext/gradle/android/XtextAndroidBuilderPlugin.xtend xtext-android-gradle-plugin/src/main/java/org/xtext/gradle/android/XtextAndroidBuilderPlugin.xtend | |
index 9388829..b8209df 100644 | |
--- xtext-android-gradle-plugin/src/main/java/org/xtext/gradle/android/XtextAndroidBuilderPlugin.xtend | |
+++ xtext-android-gradle-plugin/src/main/java/org/xtext/gradle/android/XtextAndroidBuilderPlugin.xtend | |
@@ -38,10 +38,6 @@ class XtextAndroidBuilderPlugin implements Plugin<Project> { | |
private def configureAndroid() { | |
project.afterEvaluate[ | |
android = project.extensions.getByName("android") as BaseExtension | |
- android.packagingOptions [ | |
- exclude('META-INF/ECLIPSE_.RSA') |
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
class IosFrameworkSymlinkTask extends DefaultTask | |
{ | |
val log = LoggerFactory.getLogger(getClass) | |
static val runtime = Runtime.runtime | |
static def void symlinkFramework(String location, String name) | |
{ | |
var fileContent = ''' | |
#!/bin/sh |
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
/** | |
* Tasks and methods for releasing | |
*/ | |
// rv === release version | |
def projectName = "opensores" | |
def fwName = 'OpenSores' // frameworkName (e.g. OpenSores.framework) | |
def VERSION = project.hasProperty('rv') ? project.getProperty('rv') : 'unofficial' | |
def releaseDir = "${project.projectDir}/../../releases" | |
def releaseTempDir = "${releaseDir}/temp" |