Skip to content

Commit

Permalink
Make python 3 the default for builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Mani-D committed Mar 13, 2024
1 parent ce0811c commit b60af00
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.8]
python-version: [3.8]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ install(TARGETS xpedite-pic DESTINATION "lib" COMPONENT libraries)

######################### Python bindings #############################

set(PYBIND11_PYTHON_VERSION 3.8 CACHE STRING "")
find_package(pybind11 REQUIRED)
pybind11_add_module(xpediteBindings lib/xpedite/pybind/Bindings.cpp lib/xpedite/framework/SamplesLoader.C)
install(TARGETS xpediteBindings DESTINATION "lib" COMPONENT libraries)
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ BUILD_TYPE=Release
BUILD_VIVIFY=0
BUILD_JAVA=0
VERBOSE=0
PYTHON_VERSION=2.7
PYTHON_VERSION=3.8

while true ; do
case "$1" in
Expand Down
1 change: 1 addition & 0 deletions include/xpedite/probes/CallSite.H
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

#pragma once
#include <sstream>
#include <cstdint>

namespace xpedite { namespace probes {

Expand Down
1 change: 1 addition & 0 deletions include/xpedite/probes/ProbeKey.H
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#pragma once
#include <string>
#include <cstdint>

namespace xpedite { namespace probes {

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
eval set -- "$ARGS"
ENABLE_PMU=0
VERBOSE=0
PYTHON_VERSION=2
PYTHON_VERSION=3

while true ; do
case "$1" in
Expand Down
4 changes: 2 additions & 2 deletions jni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sourceSets {
}

task xpediteJar(type: Jar) {
baseName = 'xpedite'
archiveBaseName = 'xpedite'
exclude(['**/demo/**'])
manifest {
attributes(
Expand All @@ -42,7 +42,7 @@ task xpediteJar(type: Jar) {
task demoJar(type: Jar) {
include(['**/demo/**'])
exclude(['**/com/xpedite/probes'])
baseName = 'xpediteDemo'
archiveBaseName = 'xpediteDemo'
manifest {
attributes(
'Implementation-Title': 'Xpedite Demo Jar',
Expand Down
1 change: 1 addition & 0 deletions lib/xpedite/framework/StorageMgr.H
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#pragma once
#include <string>
#include <cstdint>

namespace xpedite { namespace framework {

Expand Down

0 comments on commit b60af00

Please sign in to comment.