Compare commits
No commits in common. "main" and "tables-style" have entirely different histories.
main
...
tables-sty
@ -13,12 +13,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
libssl-dev \
|
libssl-dev \
|
||||||
clang
|
clang
|
||||||
|
|
||||||
RUN ln -s /usr/bin/python3 /usr/bin/python & \
|
|
||||||
ln -s /usr/bin/pip3 /usr/bin/pip
|
|
||||||
|
|
||||||
WORKDIR /scratch
|
WORKDIR /scratch
|
||||||
COPY script/wasm-deps.sh .
|
COPY script/wasm-deps.sh .
|
||||||
RUN chmod a+x ./wasm-deps.sh && sleep 1 && ./wasm-deps.sh
|
RUN chmod a+x ./wasm-deps.sh && sleep 1 && ./wasm-deps.sh
|
||||||
|
RUN ln -s /usr/bin/python3 /usr/bin/python & \
|
||||||
|
ln -s /usr/bin/pip3 /usr/bin/pip
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
nightly-2024-08-30
|
nightly-2024-07-19
|
||||||
|
@ -21,5 +21,29 @@ EOF
|
|||||||
echo "Detected arch: $ARCH"
|
echo "Detected arch: $ARCH"
|
||||||
|
|
||||||
if [ $ARCH == "aarch64" -o $ARCH == "armv71" ] ; then
|
if [ $ARCH == "aarch64" -o $ARCH == "armv71" ] ; then
|
||||||
apt-get install -y --no-install-recommends build-essential cmake llvm lld
|
apt-get install -y --no-install-recommends build-essential subversion ninja-build cmake
|
||||||
|
mkdir -p /scratch/src
|
||||||
|
cd /scratch/src
|
||||||
|
svn co http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_900/final/ llvm
|
||||||
|
cd /scratch/src/llvm/tools
|
||||||
|
svn co http://llvm.org/svn/llvm-project/lld/tags/RELEASE_900/final/ lld
|
||||||
|
mkdir -p /scratch/build/arm
|
||||||
|
cd /scratch/build/arm
|
||||||
|
if [ "$ARCH" == "aarch64" ] ; then
|
||||||
|
cmake -G Ninja /scratch/src/llvm \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/opt/local/llvm \
|
||||||
|
-DLLVM_TARGETS_TO_BUILD="AArch64" \
|
||||||
|
-DLLVM_TARGET_ARCH="AArch64"
|
||||||
|
else
|
||||||
|
cmake -G Ninja /scratch/src/llvm \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/opt/local/llvm \
|
||||||
|
-DLLVM_TARGETS_TO_BUILD="ARM" \
|
||||||
|
-DLLVM_TARGET_ARCH="ARM"
|
||||||
|
fi
|
||||||
|
ninja lld
|
||||||
|
ninja install-lld
|
||||||
|
cd ~
|
||||||
|
rm -rf /scratch
|
||||||
fi
|
fi
|
||||||
|
@ -54,7 +54,7 @@ pub fn create(
|
|||||||
Ok(_) => ValidationErrors::new(),
|
Ok(_) => ValidationErrors::new(),
|
||||||
Err(e) => e,
|
Err(e) => e,
|
||||||
};
|
};
|
||||||
let user = User::login(&conn, &form.email_or_name.to_lowercase(), &form.password);
|
let user = User::login(&conn, &form.email_or_name, &form.password);
|
||||||
let user_id = if let Ok(user) = user {
|
let user_id = if let Ok(user) = user {
|
||||||
user.id.to_string()
|
user.id.to_string()
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user