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
# Build the Mac OS X toolchain | |
FROM rust:latest AS osxcross | |
ARG MACOS_X_SDK_VERSION=14.5 | |
RUN <<END | |
apt update | |
DEBIAN_FRONTEND=noninteractive apt install -yq \ | |
curl \ | |
clang \ | |
git \ |
This file has been truncated, but you can view the full file.
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
[INFO] ---------------------< io.trino:trino-server-rpm >---------------------- | |
[INFO] Building trino-server-rpm 374 [73/83] | |
[INFO] --------------------------------[ rpm ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ trino-server-rpm --- | |
[INFO] Deleting /Users/martin/projects/trino/trino/core/trino-server-rpm/target | |
[INFO] | |
[INFO] --- dependency-scope-maven-plugin:0.10:check (default) @ trino-server-rpm --- | |
[INFO] No test dependency scope issues found | |
[INFO] |
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
#!/bin/sh | |
find_in_ancestor() { | |
dir="$2" | |
while [ -n "$dir" ] && [ ! -f "$dir/$1" ]; do | |
dir=${dir%/*} | |
done | |
if [ -f "$dir/$1" ]; then | |
printf '%s\n' "$dir" | |
fi |
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
PRESTO SOFTWARE FOUNDATION | |
Individual Contributor License Agreement ("Agreement") V2.0 | |
This Agreement reproduces without alteration the Apache Software | |
Foundation Individual Contributor License Agreement V2.0 except | |
for changing appropriate references. | |
Thank you for your interest in the Presto Software Foundation (the "Foundation"). | |
In order to clarify the intellectual property license granted with Contributions | |
from any person or entity, the Foundation must have a Contributor License Agreement |
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
#!/bin/sh | |
CURRENT=$1 | |
git log --format='%<|(21)%cn %<|(39)%cd %<|(50)%h %s' --date=format-local:'%m-%d %H:%M:%S' $CURRENT.. | \ | |
grep -vF '[maven-release-plugin]' | sort | \ | |
awk ' | |
{ | |
name = substr($0, 1, 21) | |
if (name != current) { |
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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building aircompressor 0.10-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- exec-maven-plugin:1.6.0:exec (default-cli) @ aircompressor --- | |
# JMH version: 1.19 | |
# VM version: JDK 1.8.0_152, VM 25.152-b16 | |
# VM invoker: /data/users/martint/jdk/jdk1.8.0_152/jre/bin/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
CompilerOracle: print com/facebook/presto/hive/metastore/HiveMetastoreApiStats$1.call | |
CompilerOracle: print com/facebook/presto/hive/RetryDriver.run | |
Compiled method (c1) 286073 33290 ! 3 com.facebook.presto.hive.metastore.HiveMetastoreApiStats$1::call (148 bytes) | |
total in heap [0x00007f345bca5190,0x00007f345bcaa230] = 20640 | |
relocation [0x00007f345bca52b8,0x00007f345bca59b8] = 1792 | |
main code [0x00007f345bca59c0,0x00007f345bca8c80] = 12992 | |
stub code [0x00007f345bca8c80,0x00007f345bca8e60] = 480 | |
oops [0x00007f345bca8e60,0x00007f345bca8e70] = 16 | |
metadata [0x00007f345bca8e70,0x00007f345bca8f10] = 160 | |
scopes data [0x00007f345bca8f10,0x00007f345bca95a0] = 1680 |
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
/* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
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
import com.google.inject.Binder; | |
import com.google.inject.Guice; | |
import com.google.inject.Injector; | |
import com.google.inject.Module; | |
import com.google.inject.Scopes; | |
import com.google.inject.multibindings.MapBinder; | |
import javax.inject.Inject; | |
import java.util.Map; |
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
/* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
NewerOlder