Commit ff73ab8b authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Rename 'dist' to 'python'.

No related merge requests found
Pipeline #55616 failed with stages
in 5 minutes and 29 seconds
Showing with 7 additions and 8 deletions
+7 -8
......@@ -18,12 +18,12 @@ build:
- cd cpython
# - git fetch origin
# - git switch 3.10
- ./configure --enable-optimizations --with-lto --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=install --with-computed-gotos --prefix=$(pwd)/../dist/ --disable-test-modules
- ./configure --enable-optimizations --with-lto --enable-shared --with-system-expat --with-system-ffi --with-ensurepip=install --with-computed-gotos --prefix=$(pwd)/../python/ --disable-test-modules
- make -j18 all
- make install
artifacts:
paths:
- dist/
- python/
# HACK: Get some system libraries to make python more portable
scratching:
......@@ -37,7 +37,7 @@ scratching:
- python3 ./scratching.py
artifacts:
paths:
- dist/
- python/
# HACK: Delete some useless python modules
lightening:
......@@ -51,7 +51,7 @@ lightening:
- echo OK
artifacts:
paths:
- dist/
- python/
archive:
stage: archive
......@@ -61,7 +61,6 @@ archive:
- job: lightening
artifacts: true
script:
- mv dist python
- tar cf python.tar.xz python/
artifacts:
paths:
......
......@@ -45,7 +45,7 @@ def make_link(name):
if len(rest) <= 1:
return True
ln = f"""dist/lib/{".".join(rest)}"""
ln = f"""python/lib/{".".join(rest)}"""
print(f" LN {ln}")
os.symlink(lib, ln)
......@@ -64,11 +64,11 @@ libs = [
for lib in libs:
files = find_filter(lib)
# Copy file to dist
# Copy file to python
for f in files:
print(f" COPY {f}")
name = os.path.basename(f)
shutil.copyfile(f, f"dist/lib/{name}")
shutil.copyfile(f, f"python/lib/{name}")
# Make symbolic link
make_link(str(name))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment