Skip to content

Commit 9ffd892

Browse files
committed
cleanup further
1 parent e762d07 commit 9ffd892

File tree

4 files changed

+3
-19
lines changed

4 files changed

+3
-19
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ jobs:
288288
key: test-vectors-e0b55b1fd3d72532b87a53fa6c313c8a09e34164
289289
- run:
290290
name: Checkout Test Vectors
291-
# TODO: instead of using the specific test-vectors commit, we want to track master instead.
292-
# we're missing a few updates to the sig-fuzz harness for them to work properly.
293291
command: |
294292
if [ ! -d "test-vectors" ]; then
295293
git clone https://github.com/firedancer-io/test-vectors --depth 1

.github/workflows/fuzz.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: FuzzCorp
22

33
on:
4+
workflow_dispatch:
45
repository_dispatch:
56
types: [shim]
67
push:
78
branches:
8-
- master
9+
- main
910

1011
jobs:
1112
build:

build.zig

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ pub const Config = struct {
1818
has_side_effects: bool,
1919
enable_tracy: bool,
2020
use_llvm: bool,
21-
force_pic: bool,
2221
error_tracing: ?bool,
2322
long_tests: bool,
2423
version: std.SemanticVersion,
@@ -95,11 +94,6 @@ pub const Config = struct {
9594
"use-llvm",
9695
"If disabled, uses experimental self-hosted backend. Only works for x86_64-linux",
9796
) orelse true,
98-
.force_pic = b.option(
99-
bool,
100-
"force_pic",
101-
"Builds linked dependencies with PIC enabled. If false, builds default PIC mode.",
102-
) orelse false,
10397
.error_tracing = b.option(
10498
bool,
10599
"error-tracing",
@@ -223,39 +217,31 @@ pub fn build(b: *Build) !void {
223217
const lsquic_dep = b.dependency("lsquic", .{
224218
.target = config.target,
225219
.optimize = config.optimize,
226-
// TSan needs a PIE executable, so we need to build the deps with PIC.
227-
.force_pic = config.force_pic or config.enable_tsan,
228220
});
229221
const lsquic_mod = lsquic_dep.module("lsquic");
230222

231223
const zstd_mod = b.dependency("zstd", .{
232224
.target = config.target,
233225
.optimize = config.optimize,
234-
.force_pic = config.force_pic or config.enable_tsan,
235226
}).module("zstd");
236227

237228
const ssl_mod = lsquic_dep.builder.dependency("boringssl", .{
238229
.target = config.target,
239230
.optimize = config.optimize,
240-
.force_pic = config.force_pic or config.enable_tsan,
241231
}).module("ssl");
242232

243233
const rocksdb_dep = b.dependency("rocksdb", .{
244234
.target = config.target,
245235
.optimize = config.optimize,
246-
.force_pic = config.force_pic or config.enable_tsan,
247236
});
248237
const rocksdb_mod = rocksdb_dep.module("bindings");
249238
// TODO: UB might be fixed by future RocksDB version upgrade.
250239
// reproducable via: zig build test -Dfilter="ledger"
251240
rocksdb_dep.artifact("rocksdb").root_module.sanitize_c = false;
252241

253-
// the sig-fuzz target needs to be built as a shared library, which requires
254-
// the linked dependencies of sig to have been built with PIC.
255242
const secp256k1_mod = b.dependency("secp256k1", .{
256243
.target = config.target,
257244
.optimize = config.optimize,
258-
.force_pic = config.force_pic or config.enable_tsan,
259245
}).module("secp256k1");
260246

261247
const tracy_mod = b.dependency("tracy", .{

conformance/scripts/bundle.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ sig_commit_id=$(git log --format="%H" -n 1)
1313
commit_id=$(git log --format="%H" -n 1)
1414
echo "{\"commit\": \"$commit_id\", \"checkouts\": [
1515
{\"repoUrl\": \"https://github.com/firedancer-io/solfuzz-agave\", \"commit\":\"$(cat ./temp/libsolfuzz-agave.so.hash)\"},
16-
{\"repoUrl\": \"https://github.com/Syndica/sig\", \"commit\":\"$sig_commit_id\"},
17-
{\"repoUrl\": \"https://github.com/Syndica/sig-fuzz\", \"commit\":\"$commit_id\"}]}" > "bundle/fuzzcorp.json"
16+
{\"repoUrl\": \"https://github.com/Syndica/sig\", \"commit\":\"$sig_commit_id\"}]}" > "bundle/fuzzcorp.json"
1817
cat bundle/fuzzcorp.json | jq
1918

2019
cd bundle && zip -r fuzz.zip *

0 commit comments

Comments
 (0)